Fix default target

makefile
Stein Ivar Berghei 2022-11-21 09:09:01 +01:00
parent 87b76ecd8a
commit da00ab1b66
1 changed files with 2 additions and 3 deletions

View File

@ -1,9 +1,8 @@
.DEFAULT_GOAL := build
APPLICATION_NAME ?= dndmusicbot
CURRENT_UID := $(shell id -u)
BIN := src/node_modules/.bin
default: build
PHONY: js image build
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
@go build
build: image js $(APPLICATION_NAME)
build: image js $(APPLICATION_NAME)