Skip to content

Commit 18c5986

Browse files
committed
chore: align setup
1 parent af9eca5 commit 18c5986

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Ignore the binary files
2+
bin/
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
.PHONY: build test generate install-wgc
3+
4+
install-wgc:
5+
@which wgc > /dev/null 2>&1 || npm install -g wgc@latest
6+
7+
make: build
8+
9+
test: install-wgc
10+
wgc router plugin test .
11+
12+
generate: install-wgc
13+
wgc router plugin generate .
14+
15+
publish: generate
16+
wgc router plugin publish .
17+
18+
build: install-wgc
19+
wgc router plugin build . --debug

0 commit comments

Comments
 (0)