Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# SPDX-License-Identifier: GPL-3.0-or-later
.PHONY: build run run-cdj generate e2e clean
.PHONY: build test check run run-cdj generate e2e clean

build:
go build -o vynull .

test:
go test ./...

# The full pre-release gate: build, vet, formatting, unit tests, then the
# e2e suite (see the e2e target's requirements below).
check:
go build ./...
go vet ./...
@fmt=$$(gofmt -l .); if [ -n "$$fmt" ]; then echo "gofmt needed:"; echo "$$fmt"; exit 1; fi
go test ./...
$(MAKE) e2e

# rekordbox mode (the default) — no privileged ports needed
run: build
./vynull --music-dir $(MUSIC)
Expand Down
Loading