dndmusicbot/Makefile

15 lines
363 B
Makefile

APPLICATION_NAME ?= dndmusicbot
CURRENT_UID := $(shell id -u)
default: build
image: Dockerfile
docker build -t dndmusicbot-js-build .
touch .jsimage
web: src/script.js
docker run --user $(CURRENT_UID) -v $(CURDIR)/src:/app dndmusicbot-js-build install
docker run --user $(CURRENT_UID) -v $(CURDIR)/src:/app dndmusicbot-js-build build
build: *.go
go build