diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2a0669de8..6101b5d0b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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: | diff --git a/package.json b/package.json index b76fa6268..e47735907 100644 --- a/package.json +++ b/package.json @@ -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",