Fix default target
parent
87b76ecd8a
commit
da00ab1b66
5
Makefile
5
Makefile
|
@ -1,9 +1,8 @@
|
||||||
|
.DEFAULT_GOAL := build
|
||||||
APPLICATION_NAME ?= dndmusicbot
|
APPLICATION_NAME ?= dndmusicbot
|
||||||
CURRENT_UID := $(shell id -u)
|
CURRENT_UID := $(shell id -u)
|
||||||
BIN := src/node_modules/.bin
|
BIN := src/node_modules/.bin
|
||||||
|
|
||||||
default: build
|
|
||||||
|
|
||||||
PHONY: js image build
|
PHONY: js image build
|
||||||
|
|
||||||
js: src/public/script.js
|
js: src/public/script.js
|
||||||
|
@ -24,4 +23,4 @@ src/public/script.js: src/script.js src/yarn.lock
|
||||||
$(APPLICATION_NAME): *.go ffmpeg/*.go speaker/*.go
|
$(APPLICATION_NAME): *.go ffmpeg/*.go speaker/*.go
|
||||||
@go build
|
@go build
|
||||||
|
|
||||||
build: image js $(APPLICATION_NAME)
|
build: image js $(APPLICATION_NAME)
|
||||||
|
|
Loading…
Reference in New Issue