Skip to content

Commit

Permalink
Adding parse:catalog to the dev command and the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
versae committed Sep 28, 2018
1 parent e82c3bf commit cf360c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -16,7 +16,7 @@ script:
- yarn lint

before_deploy:
- if [ "$TRAVIS_BRANCH" == "contents" ]; then yarn parse && yarn build; fi
- if [ "$TRAVIS_BRANCH" == "contents" ]; then yarn parse:catalog && yarn parse && yarn build; fi

env:
global:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -11,7 +11,7 @@
"build":
"node_modules/.bin/webpack -p && bundle exec jekyll clean && bundle exec jekyll build",
"dev":
"if [ ! -d \"src/data\" ]; then yarn parse; fi && yarn concurrently \"node_modules/.bin/webpack --watch\" \"bundle exec jekyll serve\"",
"if [ ! -d \"src/data\" ]; then yarn parse:catalog; yarn parse; fi && yarn concurrently \"node_modules/.bin/webpack --watch\" \"bundle exec jekyll serve\"",
"lint":
"node_modules/.bin/eslint webpack/**/*.{js,jsx} webpack/*.{js,jsx} --quiet",
"precommit": "lint-staged",
Expand Down

0 comments on commit cf360c8

Please sign in to comment.