Created
October 1, 2013 12:40
-
-
Save krakatoa/0767faf10b34dfafd42f to your computer and use it in GitHub Desktop.
Rake para compilar ext y ragel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task :clean do | |
rm_f 'router.c' | |
rm_f 'router.rl' | |
rm_f 'router.o' | |
rm_f 'Makefile' | |
rm_f 'router.bundle' | |
rm_f 'router.so' | |
end | |
task :default do | |
ruby 'route_compiler.rb > router.rl' | |
sh 'ragel router.rl' | |
ruby 'extconf.rb' | |
sh 'make' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment