Mercurial > hg > charamega
annotate Rakefile @ 0:91ecd24948de
Imported.
author | Mikhail Kryshen <mikhail@kryshen.net> |
---|---|
date | Sat, 14 Jul 2012 05:46:29 +0400 (2012-07-14) |
parents | |
children | fac1b8f35265 |
rev | line source |
---|---|
0 | 1 require 'mirah' |
2 require 'rake/clean' | |
3 | |
4 SRC = FileList['src/**/*.mirah'] | |
5 CLEAN.include('build/**/*.class') | |
6 | |
7 task :default => [:compile] | |
8 | |
9 task :compile => SRC do | |
10 Mirah::compile '-d', 'build', *SRC | |
11 end | |
12 | |
13 task :run => [:compile] do | |
14 sh 'java -cp build:res net/kryshen/charamega/Ui' | |
15 end |