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
directories:
- node_modules
before_install:
- chmod +x src/postinstall.js
addons:
apt:
packages:
- graphviz
install:
- npm install
- npm install node-plantuml
before_script:
- npm install -g jshint
script:
+1 -1
View File
@@ -18,7 +18,7 @@
},
"scripts": {
"test": "jest",
"install": "src/postinstall.js"
"install": "node src/postinstall.js"
},
"repository": {
"type": "git",
+1 -1
View File
@@ -14,5 +14,5 @@ ncp('./sample_data/',dir, function(err){
if(err)
console.error(err);
else
console.log('done');
console.log(`sample data copied to ${dir}`);
});