public
Description: A new revision of Fuzed, the Erlang-based frontend for web apps. Check out the mailing list at http://groups.google.com/group/fuzed
Clone URL: git://github.com/KirinDave/fuzed.git
eunit as a submodule
abhay (author)
Fri Jun 20 18:25:45 -0700 2008
commit  b789942cfd67fa4552aeedc7233b513f718b51e9
tree    aded804674a44a7aa60e7d929f1d0aee21a48511
parent  df00cba8f4b2f828f3eee9a7b9441756a5a6cf5e
  • .gitmodules
  • Rakefile
  • bin/fuzed
  • deps/eunit
  • ebin/eunit/autoload.beam
  • ebin/eunit/code_monitor.beam
  • ebin/eunit/eunit.beam
  • ebin/eunit/eunit_autoexport.beam
  • ebin/eunit/eunit_data.beam
  • ebin/eunit/eunit_lib.beam
  • ebin/eunit/eunit_proc.beam
  • ebin/eunit/eunit_serial.beam
  • ebin/eunit/eunit_server.beam
  • ebin/eunit/eunit_striptests.beam
  • ebin/eunit/eunit_test.beam
  • ebin/eunit/eunit_tests.beam
  • ebin/eunit/eunit_tty.beam
  • ebin/eunit/file_monitor.beam
...
2
3
4
5
 
6
7
8
...
17
18
19
20
 
21
22
23
...
26
27
28
29
 
30
31
32
...
40
41
42
43
 
44
45
46
...
49
50
51
 
 
 
 
52
...
2
3
4
 
5
6
7
8
...
17
18
19
 
20
21
22
23
...
26
27
28
 
29
30
31
32
...
40
41
42
 
43
44
45
46
...
49
50
51
52
53
54
55
56
0
@@ -2,7 +2,7 @@
0
 require 'rubygems'
0
 require 'rake'
0
 
0
-ERLC_TEST_FLAGS = "-pa ../ebin/eunit -I .. -I ../etest -I ../include/eunit -DTEST"
0
+ERLC_TEST_FLAGS = "-pa ../deps/eunit/ebin -I ../deps/eunit/include -I .. -I ../etest -DTEST"
0
 ERLC_FLAGS = "+debug_info -W2 -I ../include -I ../include/yaws -o ../ebin"
0
 FUZED_VERSION = "0.4.13"
0
 
0
@@ -17,7 +17,7 @@ task :build_dist do
0
 end
0
 
0
 task :econsole do
0
- sh "erl +Bc +K true -smp enable -pz ./etest -pz ./ebin/yaws -pz ./ebin/ -pz ./ebin/eunit -sname local_console_#{$$} -kernel start_boot_server true"
0
+ sh "erl +Bc +K true -smp enable -pz ./etest -pz ./ebin/yaws -pz ./ebin/ -pz ./deps/eunit/ebin -sname local_console_#{$$} -kernel start_boot_server true"
0
 end
0
 
0
 task :console do
0
@@ -26,7 +26,7 @@ end
0
 
0
 task :distel do
0
   puts "Starting distel editing session emacs@localhost"
0
- sh "erl +Bc +K true -smp enable -pz ./etest -pz ./ebin/yaws -pz ./ebin/ -pz ./ebin/eunit -name emacs@chisai.local -detached"
0
+ sh "erl +Bc +K true -smp enable -pz ./etest -pz ./ebin/yaws -pz ./ebin/ -pz ./deps/eunit/ebin -name emacs@chisai.local -detached"
0
 end
0
 
0
 task :test => [:default] do
0
@@ -40,7 +40,7 @@ task :test => [:default] do
0
   end
0
   mod_directives = mods.map {|m| "-run #{m} test"}.join(" ")
0
   # -run #{ENV['MOD']} test
0
- sh %Q{erl +K true -smp enable -pz ./etest -pz ./ebin/yaws -pz ./ebin/ -pa ./ebin/eunit -sname local_console_#{$$} -noshell #{mod_directives} -run erlang halt}
0
+ sh %Q{erl +K true -smp enable -pz ./etest -pz ./ebin/yaws -pz ./ebin/ -pa ./deps/eunit/ebin -sname local_console_#{$$} -noshell #{mod_directives} -run erlang halt}
0
 end
0
 
0
 task :docs do
0
@@ -49,3 +49,7 @@ task :docs do
0
   files = Dir["elibs/*.erl"].map { |x| "'../" + x + "'"}.join " "
0
   sh %|cd doc && erl -noshell -s init stop -run edoc files #{files}|
0
 end
0
+
0
+task :build_eunit do
0
+ sh %[cd deps/eunit && make clean && make all]
0
+end
0
\ No newline at end of file
...
13
14
15
16
 
17
18
19
...
13
14
15
 
16
17
18
19
0
@@ -13,7 +13,7 @@ $:.unshift(CMD_LINE_PATH)
0
 
0
 DEFAULT_NODE_NAME = `hostname -s`.chomp + "-#{rand(9999)}"
0
 DEFAULT_MASTER_NODE = "master@fuzed-dev.powerset.com"
0
-DEFAULT_ERLANG_CODEPATHS = %w[ebin/yaws ebin/mochiweb ebin/eunit etest ebin]
0
+DEFAULT_ERLANG_CODEPATHS = %w[ebin/yaws ebin/mochiweb deps/eunit/ebin etest ebin]
0
 DEFAULT_BOOT_DIR = "/p/conf/fuzed/"
0
 DEFAULT_HTTP_SERVER = "yaws"
0
 

Comments

    No one has commented yet.