Move allow-root option to drone script
issue6295 review27141002
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
image: node0.10
|
||||
script:
|
||||
- echo '{ "allow_root": true }' > ~/.bowerrc
|
||||
- npm -s install --unsafe-perm
|
||||
- npm test
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"test": "./node_modules/.bin/grunt test",
|
||||
"postinstall": "./node_modules/.bin/bower install --allow-root"
|
||||
"postinstall": "./node_modules/.bin/bower install"
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt-contrib-nodeunit": "^0.4",
|
||||
|
||||
Reference in New Issue
Block a user