-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #745 from City-of-Helsinki/update-configuration
Automatic update
- Loading branch information
Showing
29 changed files
with
157 additions
and
914 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
14 | ||
15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,36 @@ | ||
PHONY := | ||
PROJECT_DIR := $(dir $(lastword $(MAKEFILE_LIST))) | ||
|
||
# Colors | ||
NO_COLOR=\033[0m | ||
CYAN=\033[36m | ||
GREEN=\033[0;32m | ||
RED=\033[0;31m | ||
YELLOW=\033[0;33m | ||
|
||
ENV := local | ||
|
||
# Include project env vars (if exists) | ||
-include .env | ||
-include .env.local | ||
|
||
# Include druidfi/tools config | ||
include $(PROJECT_DIR)/tools/make/Makefile | ||
define step | ||
@printf "\n⭐ ${YELLOW}${1}${NO_COLOR}\n" | ||
endef | ||
|
||
PHONY += help | ||
help: ## List all make commands | ||
$(call step,Available make commands:\n) | ||
@cat $(MAKEFILE_LIST) | grep -e "^[a-zA-Z_\-]*: *.*## *" | awk 'BEGIN {FS = ":.*?## "}; {printf "${CYAN}%-30s${NO_COLOR} %s\n", $$1, $$2}' | ||
|
||
# Include project specific make files (if they exist) | ||
-include $(PROJECT_DIR)/tools/make/project/*.mk | ||
# Allow projects to specify makefiles. | ||
-include tools/make/project/*.mk | ||
|
||
# Project specific overrides for variables (if they exist) | ||
-include $(PROJECT_DIR)/tools/make/override.mk | ||
include tools/make/docker.mk | ||
include tools/make/composer.mk | ||
include tools/make/drupal.mk | ||
include tools/make/git.mk | ||
include tools/make/theme.mk | ||
include tools/make/qa.mk | ||
|
||
.PHONY: $(PHONY) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.