forked from kumahq/kuma-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
25 lines (18 loc) · 767 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Please keep this file free of actual scripts
# It should only be used for adding "non-dot" aliases and documentation
SHELL := /usr/bin/env bash
NPM_WORKSPACE_ROOT := $(shell npm prefix)
KUMAHQ_CONFIG := $(NPM_WORKSPACE_ROOT)/$(shell cat $(NPM_WORKSPACE_ROOT)/package-lock.json | jq -r '.packages | to_entries[] | select(.value.name == "@kumahq/config") | .key')
MK := $(KUMAHQ_CONFIG)/src/mk
## make help: if you're aren't sure use `make help`
.DEFAULT_GOAL := help
include $(MK)/help.mk
include $(MK)/decorators.mk
include $(MK)/install.mk
include $(MK)/check.mk
.PHONY: help
help: .help ## Display this help screen
.PHONY: clean
clean: .clean ## Dev: Remove all `node_modules` recursively
.PHONY: install
install: .install ## Dev: Install all dependencies