Skip to content

Commit

Permalink
#10 Improve build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
SinusStudios committed Apr 18, 2020
1 parent bc93d57 commit aba604d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
with:
node-version: 12

- name: NPM clean install-all
run: npm run install-all
- name: NPM Clean install all
run: npm run ci-all

- name: Generate build files
run: npm run build
Expand Down
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,9 @@ What you need:
Setup:

```sh
npm run install-all
npm install
```

**Not the same as `npm install`!**

This command runs `npm install` for client, controller and host.

Build all:

```sh
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"client": "cd client && npm start",
"controller": "cd controller && npm start",
"host": "cd host && npm start",
"install-all": "cd client && npm install --no-optional && cd ../controller && npm install --no-optional && cd ../host && npm install --no-optional",
"install": "cd client && npm install --no-optional && cd ../controller && npm install --no-optional && cd ../host && npm install --no-optional",
"ci-all": "cd client && npm ci && cd ../controller && npm ci && cd ../host && npm ci",
"build": "cd client && npm run build && cd ../controller && npm run build && cd ../host && npm run build"
},
"repository": {
Expand Down

0 comments on commit aba604d

Please sign in to comment.