Last active
August 29, 2015 14:17
-
-
Save smison/448905a502e5c936555a to your computer and use it in GitHub Desktop.
*.javaの更新を監視してguardで自動ビルド/実行するGuardfile(http://qiita.com/smison/items/598899fa8e03646d1f4e)
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
require 'guard' | |
guard 'shell' do | |
watch(/(.*).java/){|m| `echo; javac #{m[0]}; java #{m[1]}; echo; echo;`} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
事前に下記を実行のこと