-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (35 loc) · 815 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
31
32
33
34
35
36
37
38
39
40
.PHONY: install
install:
@echo "Installing dependencies..."
@bun install
@echo "Dependencies installed."
.PHONY: compile
compile:
@echo "Compiling..."
@bun run compile
.PHONY: build
build: install
@echo "Building..."
@bun run build
@echo "Copy eslint.config.js to dist folder..."
@cp eslint.config.js dist
.PHONY: check
check:
@echo "Checking..."
@bun run check
.PHONY: release
release: install build
@echo "Releasing..."
@npm publish --access public
.PHONY: help
help:
@echo "Usage: make [target]"
@echo ""
@echo "Targets:"
@echo " install Install dependencies"
@echo " compile Compile the project"
@echo " check Check the project"
@echo " release Publish to npmjs"
@echo " help Show this help message"
@echo ""
@echo "For more information, see the README.md file."