-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathdevbox.json
38 lines (38 loc) · 849 Bytes
/
devbox.json
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
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.5/.schema/devbox.schema.json",
"packages": [
"nodejs@20",
],
"shell": {
"init_hook": [
"echo 'Welcome to devbox!' > /dev/null"
],
"scripts": {
"prepare-deps": [
"cabal update",
"npm ci"
],
"build": [
"npm run prepublishOnly",
"./build_dev_bin.sh"
],
"test": [
"cabal test -f dev"
],
"compiler": [
"GREN_BIN=$PWD/gren node cli.js"
],
"format": [
"ormolu --mode inplace $(git ls-files '*.hs')",
"npm run prettier"
],
"format:check": [
"ormolu --check-idempotence --mode check $(git ls-files '*.hs')",
"npm run prettier:check"
]
}
}
}