-
-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy pathMakefile
30 lines (19 loc) · 898 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
26
27
28
29
30
SHELL := /usr/bin/env bash
GHERKIN_LANGUAGES_JSON = assets/gherkin-languages.json
.DEFAULT_GOAL = help
help: ## Show this help
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make <target>\n\nWhere <target> is one of:\n"} /^[$$()% a-zA-Z_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
generate:
echo "Nothing to do"
clean-generate: ## Remove generated Gherkin parser files ## Generate gherkin parser files
rm -f $(GHERKIN_PARSER)
copy-gherkin-languages: $(GHERKIN_LANGUAGES_JSON) ## Copy gherkin-languages.json and/or generate derived files
clean-gherkin-languages: ## Remove gherkin-languages.json and any derived files
rm -f $(GHERKIN_LANGUAGES_JSON)
clean:
echo "Nothing to do"
acceptance:
echo "Nothing to do"
.DELETE_ON_ERROR:
$(GHERKIN_LANGUAGES_JSON):
cp ../gherkin-languages.json $@