1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
mxpv-podsync/Makefile
Maksym Pavlenko 072dccff4e Rename app to api
2019-03-06 22:19:59 -08:00

24 lines
457 B
Makefile

SUBDIRS := cmd/api cmd/nginx cmd/ytdl
GOLANGCI := ./bin/golangci-lint
.PHONY: push
push:
for d in $(SUBDIRS); do $(MAKE) -C $$d push; done
$(GOLANGCI):
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b ./bin v1.15.0
./bin/golangci-lint --version
.PHONY: lint
lint: $(GOLANGCI)
./bin/golangci-lint run
.PHONY: test
test:
go test -short ./...
.PHONY: up
up:
docker-compose pull
docker-compose up -d