-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
50 lines (38 loc) · 935 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
41
42
43
44
45
46
47
48
49
50
.PHONY: build
build: build-package build-types
.PHONY: setup
setup:
npm install
.PHONY: build-package
build-package:
node script/build-package.js
.PHONY: build-types
build-types:
npx tsc
.PHONY: dev
dev:
node script/dev.js
.PHONY: clean
clean:
rm -rf ./dist
.PHONY: upgrade-cubing
upgrade-cubing:
npm install --save cubing@latest
.PHONY: lint
lint:
npx @biomejs/biome check ./script ./src/bin ./src/lib
.PHONY: format
format:
npx @biomejs/biome format --write ./script ./src/bin ./src/lib
.PHONY: encrypt-fake-competition
encrypt-fake-competition:
bun run src/bin/main.ts \
encrypt \
"./src/dev/fake-competition/Fake Test Competition.json" \
"./src/dev/fake-competition/Fake Test Competition - Computer Display PDF Passcodes - SECRET.txt" \
"./src/dev/fake-competition/Fake Test Competition.encrypted-scrambles.json"
.PHONY: prepublishOnly
prepublishOnly: clean build
.PHONY: publish
publish:
npm publish