Add rebuild target that always triggers full build

pull/13/head
Matthew Strasiotto 4 years ago
parent 4ba9162bd4
commit 6603cd1405

@ -3,11 +3,13 @@ TTY_SERVER=./tty-server
TTY_SERVER_ASSETS=$(wildcard frontend/public/*) frontend/public/index.html
TTY_SERVER_SRC=$(wildcard *.go) assets_bundle.go
.PHONY: all frontend clean cleanfront
.PHONY: all frontend clean cleanfront rebuild
all: $(TTY_SERVER)
@echo "Done"
rebuild: clean all
# Building the server and tty-share
$(TTY_SERVER): $(TTY_SERVER_SRC)
go build -o $@

Loading…
Cancel
Save