mirror of
https://codeberg.org/Toasterson/ips.git
synced 2026-04-10 21:30:41 +00:00
- Renamed `pkg6dev` to `pkg6` across build scripts, workflows, and documentation. - Added support for additional binaries (`pkg6repo` and `pkg6depotd`) in release builds. - Disabled `RUSTFLAGS` warnings-as-errors policy in workflows for improved flexibility. - Simplified error handling in `manifest_fmri` with streamlined conditionals. - Introduced `#[allow(clippy::result_large_err)]` to suppress clippy warnings for large error types.
23 lines
No EOL
402 B
Makefile
23 lines
No EOL
402 B
Makefile
.PHONY: all release test clean publish-all
|
|
|
|
|
|
all: clean release
|
|
|
|
test:
|
|
cargo test
|
|
|
|
clean:
|
|
rm -rf target artifacts
|
|
|
|
release:
|
|
cargo build --release
|
|
mkdir -p artifacts
|
|
cp target/release/pkg6 artifacts/
|
|
cp target/release/pkg6repo artifacts/
|
|
cp target/release/pkg6depotd artifacts/
|
|
|
|
publish-all: publish.libips publish.userland publish.pkg6
|
|
|
|
publish.%: CRATE=$*
|
|
publish.%:
|
|
cd $(CRATE); cargo publish
|