Skip to content
This repository has been archived by the owner on Sep 9, 2019. It is now read-only.

Commit

Permalink
Move server shipitfile
Browse files Browse the repository at this point in the history
  • Loading branch information
foucdeg committed Nov 10, 2018
1 parent 3ae46ae commit 9c801f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -15,6 +15,7 @@
"shipit-yarn": "^0.2.0"
},
"scripts": {
"client:start": "cd client && yarn start",
"start": "MAP_SERVER_PORT=9000 node ./server/server.js",
"fake": "node ./tools/faker.js"
},
Expand Down
7 changes: 1 addition & 6 deletions shipitfile.js → server/shipitfile.js
Expand Up @@ -51,15 +51,10 @@ module.exports = function shipitConfig(shipit) {

shipit.task('chmod-release', () => {
shipit.remote(`chmod a+x ${shipit.releasePath}`);
})
});

shipit.on('updated', () => {
shipit.start('chmod-release');
shipit.emit('chmodded');
})

shipit.on('yarn_installed', () => {
shipit.start('yarn:run');
shipit.emit('built');
});
};

0 comments on commit 9c801f9

Please sign in to comment.