/
githubmirror
/
tauri
Обзор
Документация
Войти
/
githubmirror
/
tauri
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
.scripts/ci/pack-cli.sh
23 строки
496 B
Amr Bashir
Restructure the repository (#10796)
28 авг 2024, 00:42
Не верифицирован
28 авг 2024, 00:42
36eee37
Код
Авторство
О чём код?
#!/bin/bash # Copyright 2019-2024 Tauri Programme within The Commons Conservancy # SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: MIT set -euxo pipefail for o in outputs/*; do pushd "$o" chmod +x cargo-tauri* cp ../../crates/tauri-cli/LICENSE* ../../crates/tauri-cli/README.md . target=$(basename "$o" | cut -d. -f1) if grep -qE '(apple|windows)' <<< "$target"; then zip "../${target}.zip" * else tar cv * | gzip -9 > "../${target}.tgz" fi popd done