changeset 37:5a3b3aa5d477

add rake file
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 22 Feb 2017 16:35:16 +0900
parents f2ea780b3e80
children e954d456665c
files rakefile.rb
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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