File tree 4 files changed +10
-7
lines changed
4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change
1
+ # shellcheck shell=bash
2
+ layout node
3
+ layout opam
Original file line number Diff line number Diff line change 24
24
- run : corepack enable
25
25
- run : yarn install --immutable
26
26
- run : opam install . --deps-only
27
- - run : make
27
+ - run : opam exec -- yarn exec -- make
28
28
- run : node dist/main.bc.js
29
29
30
30
lint-fmt :
Original file line number Diff line number Diff line change 1
1
defaultSemverRangePrefix : " "
2
2
3
- nodeLinker : pnpm
3
+ nodeLinker : node-modules
4
4
5
5
preferInteractive : true
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ all: clean bindings build
3
3
4
4
.PHONY : pretty-bytes
5
5
pretty-bytes :
6
- yarn exec -- ts2ocaml jsoo node_modules/pretty-bytes/index.d.ts \
6
+ ts2ocaml jsoo node_modules/pretty-bytes/index.d.ts \
7
7
--output-dir=lib \
8
8
--preset=full \
9
9
--simplify \
@@ -16,8 +16,8 @@ bindings: pretty-bytes
16
16
17
17
.PHONY : build
18
18
build :
19
- opam exec -- dune build @all --profile=release
20
- yarn exec -- esbuild _build/default/bin/main.bc.js \
19
+ dune build @all --profile=release
20
+ esbuild _build/default/bin/main.bc.js \
21
21
--bundle \
22
22
--minify \
23
23
--outdir=dist \
@@ -26,10 +26,10 @@ build:
26
26
27
27
.PHONY : fmt
28
28
fmt :
29
- opam exec -- dune build @fmt --auto-promote
29
+ dune build @fmt --auto-promote
30
30
31
31
.PHONY : clean
32
32
clean :
33
33
-rm -r dist/
34
34
-rm lib/* .{mli,js}
35
- opam exec -- dune clean
35
+ dune clean
You can’t perform that action at this time.
0 commit comments