From 95d80927b2808e207e97d80748987cf106a1a208 Mon Sep 17 00:00:00 2001 From: Adhityaa Date: Mon, 11 Jun 2018 01:19:41 +0530 Subject: [PATCH] Makefile: make devel the default target --- Makefile | 4 ++-- api/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6437e41..1b3406f 100644 --- a/Makefile +++ b/Makefile @@ -28,12 +28,12 @@ DB_DEVEL_ROOT_DIR = $(DEVEL_BUILD_DIR)/db DB_PROD_BUILD_DIR = $(DB_BUILD_DIR)/$(PROD_BUILD_DIR) DB_PROD_ROOT_DIR = $(PROD_BUILD_DIR)/db -test: api - devel: frontend api templates db devel-copy prod: frontend api templates db prod-copy +test: api + # TODO: This can probably be written better: instead of explicitly defining # each target subdirectory, define them at the top and automatically do stuff. diff --git a/api/Makefile b/api/Makefile index 236aea6..81136d9 100644 --- a/api/Makefile +++ b/api/Makefile @@ -11,12 +11,12 @@ GO_DEVEL_BUILD_BINARY = $(GO_DEVEL_BUILD_DIR)/commento-ce GO_PROD_BUILD_DIR = $(PROD_BUILD_DIR) GO_PROD_BUILD_BINARY = $(GO_PROD_BUILD_DIR)/commento-ce -test: test-go - devel: devel-go prod: prod-go +test: test-go + clean: rm -rf $(BUILD_DIR)