mirror of https://github.com/vector-im/riot-web
Abort publish if build fails
.. otherwise we end up publishing a broken build.pull/21833/head
parent
24223ae2b6
commit
e114f04e47
|
@ -17,7 +17,7 @@
|
|||
"build": "babel src -d lib --source-maps",
|
||||
"start": "babel src -w -d lib --source-maps",
|
||||
"clean": "rimraf lib",
|
||||
"prepublish": "npm run build; git rev-parse HEAD > git-revision.txt",
|
||||
"prepublish": "npm run build && git rev-parse HEAD > git-revision.txt",
|
||||
"test": "karma start --browsers PhantomJS",
|
||||
"test-multi": "karma start --single-run=false"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue