-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (32 loc) · 954 Bytes
/
Makefile
File metadata and controls
42 lines (32 loc) · 954 Bytes
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
31
32
33
34
35
36
37
38
39
40
41
42
default: help
.PHONY: help
help: # Show help for each of the Makefile recipes.
@grep -E '^[a-zA-Z0-9 -]+:.*#' Makefile | sort | while read -r l; do printf "\033[1;32m$$(echo $$l | cut -f 1 -d':')\033[00m:$$(echo $$l | cut -f 2- -d'#')\n"; done
.PHONY: dev
dev: # Run development server with hot-reload.
npm run dev
.PHONY: build
build: # Build the project.
npm install
npm run build
.PHONY: test
test: # Run tests.
npm test
.PHONY: lint
lint: # Run linter.
npm run lint
.PHONY: clean
clean: # Remove build artifacts.
rm -rf dist node_modules
.PHONY: docker-build
docker-build: # Build the Docker image.
docker build -t shellwright .
.PHONY: docker-run
docker-run: docker-build # Build and run the Docker container.
docker run --rm -it -p 7498:7498 shellwright
.PHONY: helm-lint
helm-lint: # Lint the Helm chart.
helm lint chart
.PHONY: helm-template
helm-template: # Render the Helm chart templates.
helm template shellwright chart