From 5763d2f9f31ceb853044f29c36f14a8642308be9 Mon Sep 17 00:00:00 2001 From: Hanzei <16541325+hanzei@users.noreply.github.com> Date: Tue, 25 Jun 2019 01:50:25 +0200 Subject: [PATCH] Add support for custom makefile (#45) * Add support for custom makefile * Add documention --- Makefile | 5 +++++ build/custom.mk | 1 + 2 files changed, 6 insertions(+) create mode 100644 build/custom.mk diff --git a/Makefile b/Makefile index 160a067..8cde37f 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,11 @@ include build/setup.mk BUNDLE_NAME ?= $(PLUGIN_ID)-$(PLUGIN_VERSION).tar.gz +# Include custom makefile, if pressent +ifneq ($(wildcard build/custom.mk),) + include build/custom.mk +endif + ## Checks the code style, tests, builds and bundles the plugin. all: check-style test dist diff --git a/build/custom.mk b/build/custom.mk new file mode 100644 index 0000000..d9f078f --- /dev/null +++ b/build/custom.mk @@ -0,0 +1 @@ +# Include custome targets and environment variables here \ No newline at end of file