Files
termscp/just/build.just
T
Christian Visintin afbc74113f
Deploy docs to GitHub Pages / deploy (push) Has been cancelled
Site / build-site (push) Has been cancelled
Install.sh / build (macos-latest) (push) Has been cancelled
Install.sh / build (ubuntu-latest) (push) Has been cancelled
CI / toolchain (push) Has been cancelled
CI / fmt (push) Has been cancelled
CI / install-scripts (push) Has been cancelled
CI / crates-ubuntu-latest (push) Has been cancelled
CI / crates-windows-latest (push) Has been cancelled
CI / doc (push) Has been cancelled
CI / deny (push) Has been cancelled
CI / crates-macos-latest (push) Has been cancelled
ci: migrate project automation to Just (#442)
* ci: migrate project automation to Just

Centralize build, test, release, dependency, hook, and website commands in Just recipes. Pin workflow tooling, use the repository toolchain, and run the complete validation set in CI.

* ci: codex being codex

* docs: update CLAUDE.md for just task runner migration

Reflect the switch to just recipes for build/test/clippy/fmt, note
dprint replacing raw rustfmt, and add a cross-platform code requirement.

* fix: resolve clippy warnings breaking CI on ubuntu and windows

Use clone() instead of implicit to_string() on already-owned String
values, gate the windows-only unused make_file_at import behind
cfg(posix), and fix unused mut / manual assign-op in the windows-only
localhost test.

* fix: fmt
2026-08-28 19:29:58 +02:00

35 lines
870 B
Plaintext

# Build everything
[group('build')]
build_all: build_crates
# Build the Rust crate
[group('build')]
build_crates args="":
cargo build --workspace {{ args }}
# Build all Rust crates in release mode
[group('build')]
build_crates_release:
just build_crates "--release"
# Build a release binary for a target triple
[group('build')]
build_release target features="":
cargo build --locked --release --target {{ target }} {{ features }}
# Package an already-built Linux release as a Debian package
[group('build')]
package_deb target:
cargo deb --no-build --target {{ target }} --features smb-vendored
# Update Cargo.lock; pass cargo update arguments to scope the update.
[group('build')]
update_lock args="":
cargo update {{ args }}
# Clean build artifacts
[group('build')]
[confirm("Are you sure you want to clean the build artifacts?")]
clean:
cargo clean