Fixed install script

This commit is contained in:
Clément GOUIN
2019-06-19 13:01:11 +02:00
parent 9f8dc29705
commit 7bfdbbf511
3 changed files with 7 additions and 4 deletions
+5 -2
View File
@@ -6,10 +6,13 @@ cache:
npm: true npm: true
directories: directories:
- node_modules - node_modules
before_install: addons:
- chmod +x src/postinstall.js apt:
packages:
- graphviz
install: install:
- npm install - npm install
- npm install node-plantuml
before_script: before_script:
- npm install -g jshint - npm install -g jshint
script: script:
+1 -1
View File
@@ -18,7 +18,7 @@
}, },
"scripts": { "scripts": {
"test": "jest", "test": "jest",
"install": "src/postinstall.js" "install": "node src/postinstall.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
+1 -1
View File
@@ -14,5 +14,5 @@ ncp('./sample_data/',dir, function(err){
if(err) if(err)
console.error(err); console.error(err);
else else
console.log('done'); console.log(`sample data copied to ${dir}`);
}); });