From 08bd11f4d9eaf7794c7689b0f750fbb3d4e84e4a Mon Sep 17 00:00:00 2001 From: William Petit Date: Thu, 16 Jul 2020 22:51:26 +0200 Subject: [PATCH] Simplification Makefile --- Makefile | 6 +++--- modd.conf | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index b389300..d9bdc11 100644 --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file diff --git a/modd.conf b/modd.conf index ac44863..7087e76 100644 --- a/modd.conf +++ b/modd.conf @@ -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