mirror of
https://github.com/kikito/middleclass.git
synced 2024-12-11 19:44:24 +00:00
13 lines
250 B
Ruby
13 lines
250 B
Ruby
require 'erb'
|
|
|
|
base_dir = Dir.pwd
|
|
|
|
# Tasks
|
|
|
|
task :default => :test
|
|
|
|
task :test do
|
|
lua_path_command = "(function() package.path = '#{base_dir}/middleclass/?.lua;' .. package.path end)()"
|
|
sh "tsc -f --before=\"#{lua_path_command}\" spec/*.lua"
|
|
end
|