forked from gren-lang/compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevbox.json
More file actions
38 lines (38 loc) · 840 Bytes
/
devbox.json
File metadata and controls
38 lines (38 loc) · 840 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
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.14.0/.schema/devbox.schema.json",
"packages": [
"nodejs@20",
"ormolu@0.7",
"ghc@9.8",
"cabal-install@3.12"
],
"shell": {
"init_hook": [
"echo 'Welcome to devbox!' > /dev/null"
],
"scripts": {
"prepare-deps": [
"cabal update",
"npm ci"
],
"build": [
"npm run build",
"./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"
]
}
}
}