mirror of
https://github.com/numtide/treefmt.git
synced 2024-10-26 17:30:03 +03:00
59f08aaf3b
Make it easy to test CI as a developer. If ./ci.sh succeeds, it should work on CI.
11 lines
174 B
Bash
Executable File
11 lines
174 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
set -x
|
|
|
|
nix-shell --pure --run "cargo build"
|
|
|
|
nix-shell --pure --run "cargo test"
|
|
|
|
nix-build -A defaultNix.defaultPackage.x86_64-linux
|