1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
mxpv-podsync/Makefile
Maksym Pavlenko 21ff51f4f9 Drop ytdl
2019-03-24 16:58:45 -07:00

24 lines
448 B
Makefile

SUBDIRS := cmd/api cmd/nginx
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