From c94b9b36967590ab1dd09ff032bfaa529766fc84 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Sat, 6 Feb 2021 11:31:26 -0300 Subject: [PATCH] chore: remove tauri bundler install --- .github/CONTRIBUTING.md | 2 +- .github/workflows/build-smoke-tests.yml | 3 --- .github/workflows/smoke-test-prod.yml | 3 --- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index e8c184f27..face0d1ec 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -72,7 +72,7 @@ If you want to use your local code in another app, we recommend using [Yarn link ### Developing Tauri Bundler -The code for the bundler is located in `[Tauri repo root]/cli/tauri-bundler`. After making your changes to the code, run `cargo install --path .` in the bundler directory. This will update the global `tauri-bundler` Cargo install to use your local code. Now, all of your Tauri projects will use the local code when bundling. The Cargo install needs to be run after every change. +The code for the bundler is located in `[Tauri repo root]/cli/tauri-bundler`. Build the Tauri CLI on `[Tauri repo root]/cli/core` with `$ cargo build`. This is handled automatically when using the JS CLI. ### Developing Tauri Core diff --git a/.github/workflows/build-smoke-tests.yml b/.github/workflows/build-smoke-tests.yml index b52a1f05f..5957a9295 100644 --- a/.github/workflows/build-smoke-tests.yml +++ b/.github/workflows/build-smoke-tests.yml @@ -78,9 +78,6 @@ jobs: - name: install and build assets working-directory: 'example/${{ github.event.inputs.dir }}' run: ${{ github.event.inputs.buildAssets }} - - name: cargo install tauri-bundler --force - working-directory: tauri/cli/tauri-bundler - run: cargo install tauri-bundler --path . --force - name: build tauri app uses: tauri-apps/tauri-action@v0 env: diff --git a/.github/workflows/smoke-test-prod.yml b/.github/workflows/smoke-test-prod.yml index 0189172ee..0ace79fc2 100644 --- a/.github/workflows/smoke-test-prod.yml +++ b/.github/workflows/smoke-test-prod.yml @@ -52,9 +52,6 @@ jobs: with: path: ${{ format('{0}/registry/cache/', matrix.CARGO_HOME) }} key: ${{ runner.OS }}-build-reg-cache-${{ hashFiles('**/Cargo.toml') }}- - - run: cargo install tauri-bundler --force - # if we pull from cache, this will be skipped, but force just in case cache has an issue but it does exist - if: steps.cache_rust_bin.outputs.cache-hit != 'true' || steps.cache_rust_reg_index.outputs.cache-hit != 'true' || steps.cache_rust_reg_cache.outputs.cache-hit != 'true' - name: cache node modules uses: actions/cache@v1 with: