This commit is contained in:
jysperm
2014-08-08 02:26:49 +08:00
parent c8aeb96605
commit 61251b030b
5 changed files with 13 additions and 0 deletions

View File

0
bin/rp-migration.coffee Normal file
View File

7
bin/rp-start.coffee Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env coffee
child_process = require 'child_process'
child_process.exec "make start", {cwd: "#{__dirname}/../"}, (err) ->
throw err if err
process.exit()

View File

View File

@@ -23,6 +23,12 @@
"scripts": {
"start": "make run"
},
"bin": {
"rp-start": "./bin/rp-start.coffee",
"rp-fix-permissions": "./bin/rp-fix-permissions.coffee",
"rp-system-sync": "./bin/rp-system-sync.coffee",
"rp-migration": "./bin/rp-migration.coffee"
},
"dependencies": {
"jade": "^1.3",
"express": "*",