Parcourir la source

chore: remove tauri bundler install

Lucas Nogueira il y a 4 ans
Parent
commit
c94b9b3696

+ 1 - 1
.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
 

+ 0 - 3
.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:

+ 0 - 3
.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: