-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJustfile
More file actions
39 lines (28 loc) 路 883 Bytes
/
Copy pathJustfile
File metadata and controls
39 lines (28 loc) 路 883 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
red := '\033[0;31m'
green := '\033[0;32m'
nc := '\033[0m' # No Color
example NAME:
@just header "RUNNING EXAMPLE: v4/{{NAME}}"
cd examples/v4/{{NAME}} && npm install && npm run dev
examples:
for example in `ls examples/v4`; do just example $example; done
docs:
npx gren-doc-preview
test:
just build-cli-debug && cd tests && gren run Setup && gren run Tests
build-cli:
npx gren make CLI --optimize --output=bin/main.js
build-cli-debug:
npx gren make CLI --output=bin/main.js
# `init-local` runs `prettynice init` but points the generated
# project at this directory for its prettynice npm dependency.
init-local TARGET:
npx prettynice init-local ${PWD} {{TARGET}}
web:
cd website/v2 && npm install && npm run dev
deploy-web:
cd website/v2 && flyctl deploy
header MSG:
@echo -e "\n{{green}}{{MSG}}{{nc}}"
progress MSG:
@echo -e "馃尭 {{MSG}}..."