Mercurial > hg > Database > jungle-sharp
comparison rakefile.rb @ 39:b4bb6f193a44
add default compile command to rakefile.
author | Kazuma Takeda |
---|---|
date | Thu, 23 Feb 2017 13:46:21 +0900 |
parents | e954d456665c |
children | db1d9ae4c4f6 |
comparison
equal
deleted
inserted
replaced
38:e954d456665c | 39:b4bb6f193a44 |
---|---|
30 BUILD_DIR = "build" | 30 BUILD_DIR = "build" |
31 | 31 |
32 FULL_NAME = "jungle-sharp.exe" | 32 FULL_NAME = "jungle-sharp.exe" |
33 TARGET = 'library' | 33 TARGET = 'library' |
34 REFS = ["jungle-sharp.dll"] | 34 REFS = ["jungle-sharp.dll"] |
35 | 35 task :default => :compile |
36 task :compile do | 36 task :compile do |
37 sh "#{CSC} -debug -out:#{FULL_NAME} -target:#{TARGET} -lib:#{BUILD_DIR}-r:#{REFS.join(',')} #{SRC}" | 37 sh "#{CSC} -debug -out:#{FULL_NAME} -target:#{TARGET} -lib:#{BUILD_DIR}-r:#{REFS.join(',')} #{SRC}" |
38 end | 38 end |