mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
15 lines
214 B
Makefile
15 lines
214 B
Makefile
OUT := api
|
|
SRC := $(wildcard *.go)
|
|
|
|
build: $(SRC)
|
|
GOOS=linux go build -v -o $(OUT)
|
|
|
|
.PHONY: push
|
|
push: build
|
|
docker build -t mxpv/podsync_api .
|
|
docker push mxpv/podsync_api
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
- rm -f $(OUT)
|