Makefile: make devel the default target

This commit is contained in:
Adhityaa 2018-06-11 01:19:41 +05:30
parent 60ad11bdcb
commit 95d80927b2
2 changed files with 4 additions and 4 deletions

View File

@ -28,12 +28,12 @@ DB_DEVEL_ROOT_DIR = $(DEVEL_BUILD_DIR)/db
DB_PROD_BUILD_DIR = $(DB_BUILD_DIR)/$(PROD_BUILD_DIR) DB_PROD_BUILD_DIR = $(DB_BUILD_DIR)/$(PROD_BUILD_DIR)
DB_PROD_ROOT_DIR = $(PROD_BUILD_DIR)/db DB_PROD_ROOT_DIR = $(PROD_BUILD_DIR)/db
test: api
devel: frontend api templates db devel-copy devel: frontend api templates db devel-copy
prod: frontend api templates db prod-copy prod: frontend api templates db prod-copy
test: api
# TODO: This can probably be written better: instead of explicitly defining # TODO: This can probably be written better: instead of explicitly defining
# each target subdirectory, define them at the top and automatically do stuff. # each target subdirectory, define them at the top and automatically do stuff.

View File

@ -11,12 +11,12 @@ GO_DEVEL_BUILD_BINARY = $(GO_DEVEL_BUILD_DIR)/commento-ce
GO_PROD_BUILD_DIR = $(PROD_BUILD_DIR) GO_PROD_BUILD_DIR = $(PROD_BUILD_DIR)
GO_PROD_BUILD_BINARY = $(GO_PROD_BUILD_DIR)/commento-ce GO_PROD_BUILD_BINARY = $(GO_PROD_BUILD_DIR)/commento-ce
test: test-go
devel: devel-go devel: devel-go
prod: prod-go prod: prod-go
test: test-go
clean: clean:
rm -rf $(BUILD_DIR) rm -rf $(BUILD_DIR)