mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-22 09:31:09 +00:00
fixes
This commit is contained in:
parent
5d6534897c
commit
644cb18581
2 changed files with 5 additions and 4 deletions
|
@ -1,17 +1,16 @@
|
|||
variables:
|
||||
- &rust_image "rust:1.81"
|
||||
- &install_binstall "wget https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz && tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz && cp cargo-binstall /usr/local/cargo/bin"
|
||||
|
||||
- &install_trunk "cargo-binstall -y trunk@0.21.1"
|
||||
steps:
|
||||
build_release:
|
||||
image: *rust_image
|
||||
environment:
|
||||
CARGO_HOME: .cargo_home
|
||||
commands:
|
||||
- wget https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
|
||||
- tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz
|
||||
- *install_binstall
|
||||
- rustup target add wasm32-unknown-unknown
|
||||
- ./cargo-binstall -y trunk
|
||||
- *install_trunk
|
||||
- export PATH="$PATH:$(pwd)/.cargo_home/bin/"
|
||||
- ls -lah assets
|
||||
- ls -lah assets/dist || true
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
[build]
|
||||
filehash = false
|
||||
target = "assets/index.html"
|
||||
dist = "assets/dist"
|
||||
minify = "on_release"
|
Loading…
Reference in a new issue