Last active
November 8, 2015 11:22
-
-
Save benoist/43ad5df13c6b2aadb248 to your computer and use it in GitHub Desktop.
Crystal guard file
This file contains hidden or 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
# gem install guard | |
# gem install guard-process | |
guard 'process', :name => 'Spec', :command => 'crystal spec' do | |
watch(/spec\/(.*).cr$/) | |
watch(/src\/(.*).cr$/) | |
end | |
guard 'process', :name => 'Build', :command => 'crystal build app.cr' do | |
watch(/src\/(.*).cr$/) | |
end | |
guard 'process', :name => 'Run', :command => './app' do | |
watch('app') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment