There are many files for building Rustic:
build-dependencies.just to install dependencies
maskfile.md wrapping Cargo tasks
build.sh / scripts/build.sh (same fiile): wrapping cargo build --release and setting PROJECT_VERSION for a git ref
- I cannot find where it's used
Dockerfile (is that implicitly used by .github/workflows/release-image.yml?)
The README mentions neither the mask nor just tooling.
I'm not seeing them in the CI setup either.
How are they currently used, just locally for development?
I'm currently building for a musl target to get a fully static binary, on Linux for x86_64, using:
CC=x86_64-unknown-linux-musl-gcc RUSTFLAGS="-C target-feature=+crt-static" cargo build --target x86_64-unknown-linux-musl --release
Can we remove some bits here? At least one of the build.sh files for sure, since it's a duplicate?
There are many files for building Rustic:
build-dependencies.justto install dependenciesmaskfile.mdwrapping Cargo tasksbuild.sh/scripts/build.sh(same fiile): wrappingcargo build --releaseand settingPROJECT_VERSIONfor a git refDockerfile(is that implicitly used by.github/workflows/release-image.yml?)The README mentions neither the
masknorjusttooling.I'm not seeing them in the CI setup either.
How are they currently used, just locally for development?
I'm currently building for a musl target to get a fully static binary, on Linux for x86_64, using:
CC=x86_64-unknown-linux-musl-gcc RUSTFLAGS="-C target-feature=+crt-static" cargo build --target x86_64-unknown-linux-musl --releaseCan we remove some bits here? At least one of the
build.shfiles for sure, since it's a duplicate?