# HG changeset patch # User Shinji KONO # Date 1487748916 -32400 # Node ID 5a3b3aa5d4771de8c1193578a3c331c2e5e4c179 # Parent f2ea780b3e80ad3fc7fde63389797c609b238f09 add rake file diff -r f2ea780b3e80 -r 5a3b3aa5d477 rakefile.rb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rakefile.rb Wed Feb 22 16:35:16 2017 +0900 @@ -0,0 +1,12 @@ +CSC = "mcs" + +SRC = FileList[ '**/*.cs'] +BUILD_DIR = "build" + +FULL_NAME = "jungle-sharp.exe" +TARGET = 'exe' +REFS = ["jungle-sharp.dll"] + +task :compile do + sh "#{CSC} -debug -out:#{FULL_NAME} -target:#{TARGET} -lib:#{BUILD_DIR}-r:#{REFS.join(',')} #{SRC}" +end