Skip to content

Commit

Permalink
Fix jipt compile in heroku compile
Browse files Browse the repository at this point in the history
  • Loading branch information
simonprev committed Jul 24, 2019
1 parent 16b3ad5 commit 8e09dd5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ before_install:
- npm i --prefix webapp --no-audit --no-color
- npm i --prefix cli --no-audit --no-color
- npm i --prefix jipt --no-audit --no-color
- npm --prefix webapp run build-production
- npm --prefix webapp run build-production-inline

# Create database and prepare the application
before_script:
Expand All @@ -50,5 +50,5 @@ before_script:
script:
- ./priv/scripts/ci-check.sh
- npm --prefix cli run build
- npm --prefix jipt run build-production
- npm --prefix jipt run build-production-inline
- mix coveralls.travis
5 changes: 3 additions & 2 deletions compile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cd $phoenix_dir
npm --prefix ./webapp run build-heroku
npm --prefix ./jipt run build-heroku
npm --prefix ./webapp run build-production-inline
npm --prefix ./jipt ci --no-audit --no-color
npm --prefix ./jipt run build-production-inline
2 changes: 1 addition & 1 deletion jipt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "parcel index.html",
"build-production": "parcel build index.ts --out-dir=jipt-dist --target browser --experimental-scope-hoisting",
"build-heroku": "parcel build index.ts --out-dir=../priv/static/jipt --target browser --experimental-scope-hoisting",
"build-production-inline": "parcel build index.ts --out-dir=../priv/static/jipt --target browser --experimental-scope-hoisting",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"start": "ember server --port $WEBAPP_PORT",
"build": "ember build --output-path=../priv/static/webapp",
"build-heroku": "ember build --prod --output-path=../priv/static/webapp",
"build-production-inline": "ember build --prod --output-path=../priv/static/webapp",
"build-production": "ember build --prod --output-path=webapp-dist",
"test": "ember test"
},
Expand Down

0 comments on commit 8e09dd5

Please sign in to comment.