slint/scripts/publish.sh
Olivier Goffart 83275640a4 Add a sleep in the publish script to throttle things a bit
The compiler crates depends on the common crates which might not be available
yet because of the crates.io cache
2022-03-10 09:46:04 +01:00

20 lines
959 B
Bash
Executable file

#!/bin/bash -e
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
cargo publish --manifest-path internal/common/Cargo.toml
cargo publish --manifest-path internal/core-macros/Cargo.toml
sleep 15
cargo publish --manifest-path internal/compiler/Cargo.toml
cargo publish --manifest-path internal/core/Cargo.toml
cargo publish --manifest-path api/rs/macros/Cargo.toml
cargo publish --manifest-path internal/backends/gl/Cargo.toml --features x11
cargo publish --manifest-path api/rs/build/Cargo.toml
cargo publish --manifest-path internal/backends/qt/Cargo.toml
sleep 30
cargo publish --manifest-path internal/backends/selector/Cargo.toml --features backend-gl-x11
sleep 30
cargo publish --manifest-path internal/interpreter/Cargo.toml
cargo publish --manifest-path api/rs/slint/Cargo.toml
cargo publish --manifest-path tools/lsp/Cargo.toml
cargo publish --manifest-path tools/viewer/Cargo.toml