Simplification Makefile

This commit is contained in:
wpetit 2020-07-16 22:51:26 +02:00
parent 0d308acd5c
commit 08bd11f4d9
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
SHELL := /bin/bash
build: build-docker build-server
build: build-server
build-docker:
docker:
docker-compose build
generate:
@ -52,7 +52,7 @@ hydra-shell:
release:
./misc/script/release
clean: down
clean:
rm -rf client/node_modules bin data .env internal/graph/generated internal/graph/server.go
rm -rf vendor
go clean -modcache

View File

@ -8,7 +8,7 @@ internal/gqlgen.yml {
data/config.yml
.env
modd.conf {
prep: make build-server
prep: make build
prep: [ -e data/config.yml ] || ( mkdir -p data && bin/server -dump-config > data/config.yml )
prep: [ -e .env ] || ( cp .env.dist .env )
prep: make migrate-latest