view Rakefile @ 0:91ecd24948de

Imported.
author Mikhail Kryshen <mikhail@kryshen.net>
date Sat, 14 Jul 2012 05:46:29 +0400
parents
children fac1b8f35265
line wrap: on
line source

require 'mirah'
require 'rake/clean'

SRC = FileList['src/**/*.mirah']
CLEAN.include('build/**/*.class')

task :default => [:compile]

task :compile => SRC do
  Mirah::compile '-d', 'build', *SRC
end

task :run => [:compile] do
  sh 'java -cp build:res net/kryshen/charamega/Ui'
end