This repository was archived by the owner on Nov 23, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,6 @@ before_install:
1616after_success :
1717 - docker rmi $(docker images -q)
1818 - yarn coveralls
19- # build npm binary
20- - yarn build-bundle
21- - mv dist/index.js bin/server-core.js
22- - mv dist/home.html bin/home.html
23- # build main docker image
2419 - yarn build
2520 - docker login -u $HUB_USER -p $HUB_PASS
2621 - export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
Original file line number Diff line number Diff line change 11{
22 "name" : " exoframe-server" ,
3- "version" : " 4.0.2 " ,
3+ "version" : " 4.0.3-dev " ,
44 "description" : " Exoframe is a self-hosted tool that allows simple one-command deployments using Docker" ,
55 "main" : " bin/server-core.js" ,
66 "bin" : " bin/exoframe-server.js" ,
99 "test" : " NODE_ENV=testing jest --coverage --silent --maxWorkers=2 --ci" ,
1010 "coveralls" : " cat ./coverage/lcov.info | coveralls" ,
1111 "build-bundle" : " ncc build src/index.js -o dist" ,
12- "build" : " pkg -t node10.4.1-alpine -o exoframe-server ."
12+ "prepare-build" : " mv dist/index.js bin/server-core.js && mv dist/home.html bin/home.html" ,
13+ "build" : " yarn build-bundle && yarn prepare-build && pkg -t node10.4.1-alpine -o exoframe-server ."
1314 },
1415 "pkg" : {
15- "assets" : " src/templates/* .html"
16+ "assets" : " bin/home .html"
1617 },
1718 "files" : [
1819 " bin/exoframe-server.js" ,
You can’t perform that action at this time.
0 commit comments