Skip to content

Commit

Permalink
build.sh: New script to share build logic
Browse files Browse the repository at this point in the history
Netlify does not like invoking multiple commands.
  • Loading branch information
jayvdb committed Dec 22, 2017
1 parent 03d5725 commit dddc9fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ language: node_js
# - sh -e /etc/init.d/xvfb start

script:
- npm run build
- $(npm bin)/http-server . &
- node ./script/fetch-issues.js
- script/build.sh

# Remove /dist/ from .gitignore
before_deploy:
Expand Down
5 changes: 5 additions & 0 deletions script/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

npm run build
$(npm bin)/http-server . &
node ./script/fetch-issues.js

0 comments on commit dddc9fd

Please sign in to comment.