Permalink
Browse files

set shelljs as part of deps as it is required for building of client …

…side

* fix release script
  • Loading branch information...
1 parent 84801f9 commit 7c5266415347d590bada3a1e788b94c1a528d024 @outbounder outbounder committed Feb 27, 2014
Showing with 11 additions and 3 deletions.
  1. +2 −2 package.json
  2. +9 −1 scripts/release-staging.js
View
@@ -35,14 +35,14 @@
"marked": "0.2.9",
"passport": "0.1.17",
"passport-local": "0.1.6",
- "errorface": "~0.1.0"
+ "errorface": "~0.1.0",
+ "shelljs": "0.2.5"
},
"devDependencies": {
"jasmine-node": "1.11.0",
"jasmine-matchers": "0.2.2",
"Faker": "latest",
"request": "2.22.0",
- "shelljs": "0.2.5",
"backbone": "1.0.0",
"jquery": "1.8.3",
"nodemon": "0.7.8",
View
@@ -1,5 +1,13 @@
require("shelljs/global");
-if(exec("node ./node_modules/organic-angel/bin/angel cell upgrade ./dna/staging").code != 0){
+if(exec("node ./node_modules/organic-angel/bin/angel cell upgrade ./dna/staging.json").code != 0){
echo("Error: failed to upgrade staging");
exit(1);
+}
+if(exec("node ./node_modules/organic-angel/bin/angel cell build ./dna/staging.json").code != 0){
+ echo("Error: failed to build staging");
+ exit(1);
+}
+if(exec("node ./node_modules/organic-angel/bin/angel cell restart ./dna/staging.json").code != 0){
+ echo("Error: failed to restart staging");
+ exit(1);
}

0 comments on commit 7c52664

Please sign in to comment.