2022-01-09 21:18:14 +03:00
|
|
|
#!/usr/bin/env sh
|
2023-06-07 16:32:36 +03:00
|
|
|
|
2023-02-19 16:17:49 +03:00
|
|
|
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
2022-01-09 21:18:14 +03:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
2022-12-14 19:39:05 +03:00
|
|
|
declare -a examples=("api" "sidecar" "updater" "resources" "tauri-dynamic-lib" "workspace")
|
2022-02-10 23:23:10 +03:00
|
|
|
declare -a tooling=("bench" "cli" "webdriver")
|
2022-01-09 21:18:14 +03:00
|
|
|
|
|
|
|
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
|