mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-15 21:53:59 +03:00
24 lines
511 B
Bash
Executable File
24 lines
511 B
Bash
Executable File
#!/usr/bin/env sh
|
|
# Copyright 2019-2022 Tauri Programme within The Commons Conservancy
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
declare -a examples=("api" "sidecar" "updater" "resources" "tauri-dynamic-lib")
|
|
declare -a tooling=("bench" "cli" "webdriver")
|
|
|
|
for example in "${examples[@]}"
|
|
do
|
|
cd examples/$example/src-tauri
|
|
cargo update
|
|
cargo build
|
|
cd ../../..
|
|
done
|
|
|
|
for tooling in "${tooling[@]}"
|
|
do
|
|
cd tooling/$tooling
|
|
cargo update
|
|
cargo build
|
|
cd ../..
|
|
done
|