certificate-api/Makefile

21 lines
390 B
Makefile
Raw Normal View History

2020-12-11 00:21:39 -05:00
## Usage:
go_files := $(wildcard cmd/*.go)
path := $(shell pwd)
all: clean build
clean:
@-rm -rf ./build
build:
@-mkdir ./build
go build -v -ldflags="-s -w" -o build/certificateapi ${go_files}
2020-12-23 20:12:28 -05:00
build-docker:
docker build -t docker.libraryofcode.org/engineering/certificate-api/master .
run-docker:
docker run --rm -it docker.libraryofcode.org/engineering/certificate-api/master