Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
70 additions
and
52 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{exec} = require 'child_process' | ||
task 'build', 'Build project from coffee/*.coffee to js/*.js', -> | ||
exec 'coffee --compile --output js/ coffee/', (err, stdout, stderr) -> | ||
throw err if err | ||
console.log stdout + stderr | ||
|
||
playsnakepath = '~/Dev/Heroku/snake/resources/public/js/' | ||
task 'deploy', 'Build and move the generated js files to PlaySnakeNow repo', -> | ||
invoke 'build' | ||
exec "cp js/* #{playsnakepath}", (err, stdout, stderr) -> | ||
throw err if err | ||
console.log stdout + stderr |
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
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
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
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