view rakefile.rb @ 37:5a3b3aa5d477

add rake file
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 22 Feb 2017 16:35:16 +0900
parents
children e954d456665c
line wrap: on
line source

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