22 lines
299 B
Makefile
22 lines
299 B
Makefile
# Build and run commands for the Go raylib project
|
|
|
|
# Build the project
|
|
build:
|
|
go build -o learning .
|
|
|
|
# Run the project
|
|
run:
|
|
go run .
|
|
|
|
# Run all tests
|
|
test:
|
|
go test ./...
|
|
|
|
# Build and run tests
|
|
build-test:
|
|
go build -o learning . && go test ./...
|
|
|
|
# Clean build artifacts
|
|
clean:
|
|
rm -f learning
|