public
Description: Rubinius, the Ruby VM
Homepage: http://rubini.us
Clone URL: git://github.com/evanphx/rubinius.git
Search Repo:
Build task for rake.
rue (author)
Mon Jul 07 08:34:24 -0700 2008
commit  e3737937f698c4cd0342eeb6761ee710e8f2d0a4
tree    a0e87af333cc11e9986f3e3ba761348e207bc8ff
parent  7f8ad4b85d8ea43e01848c0d41d8331e0a3669da
...
35
36
37
38
 
39
40
41
...
35
36
37
 
38
39
40
41
0
@@ -35,7 +35,7 @@ For now, just run the tests.
0
 -------
0
 
0
 * Classes defined in objects.hpp and builtin_*.hpp are C++ classes mapped
0
- directly to ruby objects.
0
+ directly to ruby objects.
0
 
0
 * Because of the previous point, NO virtual functions are allowed in these
0
   classes. C++ inserts a pointer into every object which has virtual functions
...
236
237
238
239
240
241
242
243
244
245
246
...
267
268
269
270
271
 
 
 
 
 
 
 
 
 
 
 
272
273
274
275
 
276
277
278
279
280
281
 
 
 
...
236
237
238
 
 
 
 
 
239
240
241
...
262
263
264
 
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
0
@@ -236,11 +236,6 @@ file "instructions.bc" do
0
   x "llvm-g++ -emit-llvm -I. -I external_libs/libffi/include -o instructions.bc -c llvm/instructions.cpp"
0
 end
0
 
0
-desc "Run all VM tests"
0
-task :test => "test/runner" do
0
- x "./test/runner"
0
-end
0
-
0
 task :coverage do
0
   Dir.mkdir "test/coverage" unless File.directory? "test/coverage"
0
   puts "LD test/coverage/runner"
0
@@ -267,15 +262,29 @@ task :field_extract do
0
   field_extract()
0
 end
0
 
0
-task :default => :test
0
 
0
+# Public tasks
0
+
0
+desc "Build the VM"
0
+task :build => "vm"
0
+
0
+desc "Run all VM tests"
0
+task :test => "test/runner" do
0
+ x "./test/runner"
0
+end
0
+
0
+desc "Remove object files and build products"
0
 task :clean do
0
   x "rm -rf *.gcda *.gcno *.gcov *.dSYM *.o ../*.o test/runner* coverage gen .deps"
0
 end
0
 
0
+desc "Clean up, including all external libs"
0
 task :distclean => :clean do
0
   external.each do |lib|
0
     path = lib.split("/")[0,2].join("/")
0
     sh "cd #{path}; make clean"
0
   end
0
 end
0
+
0
+task :default => :test
0
+

Comments

    No one has commented yet.