Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 56 lines (42 sloc) 1.34 kb
fbb0b2d @alloy Added failing tests about encoding.
alloy authored
1 # encoding: utf-8
2
6d571b4 @alloy Moved guts of the code in Rakefile into seperate files in rakelib.
alloy authored
3 # See ./rakelib/*.rake for all tasks.
9c1d230 committing experimental branch content
Laurent Sansonetti authored
4
f9cb5c1 ignore RUBYOPT
Laurent Sansonetti authored
5 ENV['RUBYOPT'] = '' # no RUBYOPT for spawned MacRuby processes
6
9c1d230 committing experimental branch content
Laurent Sansonetti authored
7 desc "Same as all"
8 task :default => :all
9
ea35a3a @ferrous26 Make the top level install task depend on install:all
ferrous26 authored
10 desc "Same as install:all"
2a0f3a4 @ferrous26 Remove xcode_support from the standard rakefile installation
ferrous26 authored
11 task :install => 'install:standard'
9c1d230 committing experimental branch content
Laurent Sansonetti authored
12
13 desc "Same as macruby:build"
14 task :macruby => 'macruby:build'
15
85b996a commented the previous test tasks + added a test_vm task for test_rox…
Laurent Sansonetti authored
16 # The old test tasks are now commented since we are switching to RubySpec
17 # for regression testing. We still add a task to run the VM regression test
18 # suite, though.
19 desc "Run the VM regression test suite"
20 task :test_vm do
187641c fixed the rakefile + launcher
Laurent Sansonetti authored
21 sh "/usr/bin/ruby test_vm.rb"
85b996a commented the previous test tasks + added a test_vm task for test_rox…
Laurent Sansonetti authored
22 end
23 =begin
9c1d230 committing experimental branch content
Laurent Sansonetti authored
24 desc "Run the sample tests"
25 task :sample_test do
26 sh "./miniruby rubytest.rb"
27 end
28
29 desc "Run the unit tests"
30 task :unit_tests do
31 sh "./miniruby test/macruby_runner.rb"
32 end
33
85b996a commented the previous test tasks + added a test_vm task for test_rox…
Laurent Sansonetti authored
34 desc "Run all tests"
35 task :test => [:sample_test, :unit_tests]
36 =end
37
9c1d230 committing experimental branch content
Laurent Sansonetti authored
38 desc "Clean local and extension build files"
588457d @ferrous26 Info.plist should be generated/removed as part of build/clean
ferrous26 authored
39 task :clean => ['clean:local', 'clean:rbo', 'clean:ext', 'clean:doc', 'clean:info_plist']
9c1d230 committing experimental branch content
Laurent Sansonetti authored
40
43a7ba7 now generating and installing RDoc ri files
Laurent Sansonetti authored
41 desc "Build everything"
588457d @ferrous26 Info.plist should be generated/removed as part of build/clean
ferrous26 authored
42 task :all => [:macruby, 'stdlib:build', :extensions, :doc, :info_plist]
9c1d230 committing experimental branch content
Laurent Sansonetti authored
43
44 desc "Create an archive (GIT only)"
45 task :git_archive do
46 sh "git archive --format=tar --prefix=MacRuby-HEAD/ HEAD | gzip >MacRuby-HEAD.tar.gz"
47 end
6d571b4 @alloy Moved guts of the code in Rakefile into seperate files in rakelib.
alloy authored
48
09f4226 @alloy Added simple irb rake task and uncommented spec => spec:ci shortcut.
alloy authored
49 desc "Run all 'known good' specs (task alias for spec:ci)"
50 task :spec => 'spec:ci'
51
52 desc "Run IRB"
53 task :irb do
54 exec './miniruby -I./lib ./bin/irb'
3ae269b move the AOT compilation of the stdlib into the main build task, intr…
Laurent Sansonetti authored
55 end
Something went wrong with that request. Please try again.