Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 461 Bytes
task :default do
sh "erlc +debug_info -W2 -o ebin #{Dir["src/*.erl"].join(" ")}"
end
task :c => [:default] do
sh "erl -boot start_sasl -pa ./ebin -pa ./ebin/*/ebin"
end
task :slave => [:default] do
sh "erl -sname slave1 -setcookie subsucka -pa ./ebin"
end
task :server => [:default] do
sh "erl -sname master1 -setcookie subsucka -pa ./ebin"
end
task :package => [:default] do
sh "tar -czpvf sucka.tgz Rakefile rewrite_commits.rb src/* ebin/*"
end