chore: add build and test helper scripts
Add convenience scripts for building and running tests: - quick_build.sh: Fast build without tests - run_tests.sh: Run all tests - test_build.sh: Full build with tests
This commit is contained in:
10
run_tests.sh
Normal file
10
run_tests.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
cd /home/will/lab/tower
|
||||
echo "Building controltower..."
|
||||
go build -o /tmp/test_ct ./cmd/controltower
|
||||
echo "Build successful!"
|
||||
rm -f /tmp/test_ct
|
||||
echo "Running tests..."
|
||||
go test ./...
|
||||
echo "All tests passed!"
|
||||
Reference in New Issue
Block a user