Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (26 sloc) 0.598 kB
task :default => [:make_c, :make_erl]
task :test => [:default, :make_tests] do
sh "erl -pa ebin -noshell -s lua_test test -s init stop"
end
task :clean do
print "Cleaning..."
sh "rm ebin/*.beam"
sh "rm priv/*.so"
print " done\n"
end
task :make_c do
sh "(cd c_src; rake compile)"
end
task :make_erl do
print "Compiling Erlang sources..."
sh "erlc -Iinclude/ -o ebin/ src/*.erl"
print " done\n"
end
task :make_tests => :default do
print "Compiling Erlang test sources..."
sh "erlc -Iinclude/ -o ebin/ tests/*.erl"
print " done\n"
end
task :run do
sh "erl -pa ebin"
end
Jump to Line
Something went wrong with that request. Please try again.