File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 2828 - name : Install faked binaryen-bin package
2929 # It's faster to use a cached version
3030 run : opam install --fake binaryen-bin
31+ - run : sh tools/make_opam_dune_lint_dir.sh
3132 - uses : ocaml/setup-ocaml/lint-opam@v3
3233
3334 lint-fmt :
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ # Define empty libraries stdlib_stable and stdlib_upstream_compatible
3+ # to keep opam-dune-lint happy (these libraries are OxCaml-specific).
4+
5+ mkdir opam_dune_lint_dir && cd opam_dune_lint_dir
6+ echo " (lang dune 3.20)" > dune-project
7+ touch stdlib_stable.opam
8+ touch stdlib_upstream_compatible.opam
9+ cat > dune << EOF
10+ (library (public_name stdlib_stable))
11+ (library (public_name stdlib_upstream_compatible))
12+ EOF
You can’t perform that action at this time.
0 commit comments