@@ -20,9 +20,9 @@
|
|||||||
in
|
in
|
||||||
with pkgs;
|
with pkgs;
|
||||||
{
|
{
|
||||||
|
# n34 development environment
|
||||||
devShells.default = mkShell {
|
devShells.default = mkShell {
|
||||||
packages = [
|
packages = [
|
||||||
cargo-msrv
|
|
||||||
dbus
|
dbus
|
||||||
git-cliff
|
git-cliff
|
||||||
just
|
just
|
||||||
@@ -39,6 +39,7 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Build n34
|
||||||
packages.default =
|
packages.default =
|
||||||
let
|
let
|
||||||
manifest = (pkgs.lib.importTOML ./Cargo.toml).package;
|
manifest = (pkgs.lib.importTOML ./Cargo.toml).package;
|
||||||
|
|||||||
8
justfile
8
justfile
@@ -32,7 +32,7 @@ _default:
|
|||||||
@{{JUST_EXECUTABLE}} --list-heading "{{header}}" --list
|
@{{JUST_EXECUTABLE}} --list-heading "{{header}}" --list
|
||||||
|
|
||||||
# Run the CI
|
# Run the CI
|
||||||
ci: && msrv _done_ci
|
ci: && _done_ci
|
||||||
echo "🔨 Building n34..."
|
echo "🔨 Building n34..."
|
||||||
cargo build -q
|
cargo build -q
|
||||||
echo "🔍 Checking code formatting..."
|
echo "🔍 Checking code formatting..."
|
||||||
@@ -43,12 +43,6 @@ ci: && msrv _done_ci
|
|||||||
echo "🧪 Running tests..."
|
echo "🧪 Running tests..."
|
||||||
cargo test -q
|
cargo test -q
|
||||||
|
|
||||||
# Check that the current MSRV is correct
|
|
||||||
msrv:
|
|
||||||
echo "🔧 Verifying MSRV..."
|
|
||||||
cargo-msrv verify
|
|
||||||
echo "✅ MSRV verification passed"
|
|
||||||
|
|
||||||
_done_ci:
|
_done_ci:
|
||||||
echo "🎉 CI pipeline completed successfully"
|
echo "🎉 CI pipeline completed successfully"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user