Skip to content

Commit

Permalink
chore: rename prepare commands to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidoine committed Jun 30, 2021
1 parent 95e1bd9 commit 3e7e9eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

# Only needed for the localize tool, need to move it outside Ovale
- name: Compile tools
run: yarn prepare-tools
run: yarn build-tools

- name: Localize
run: yarn localize
Expand All @@ -41,7 +41,7 @@ jobs:
run: yarn test

- name: Create lua
run: yarn prepare -i
run: yarn build -i

- name: Copy extra files for distribution
run: |
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"main": "dist/index.js",
"scripts": {
"test": "jest",
"prepare": "tstolua -p tsconfig.lua.json && husky install",
"prepare-tools": "tsc",
"prepare": "husky install",
"build": "tstolua -p tsconfig.lua.json",
"build-tools": "tsc",
"simc": "node dist/src/utils/importsimc/index.js ../../simc",
"dbc": "node dist/src/utils/dbc.js",
"watch": "tstolua -p tsconfig.lua.json -w",
Expand Down

0 comments on commit 3e7e9eb

Please sign in to comment.