From 8428454bbd26ebf1d155652e307be11307047779 Mon Sep 17 00:00:00 2001 From: xvw Date: Sun, 12 Nov 2023 18:02:10 +0100 Subject: [PATCH] Disable shortvar for reducing jsoo bundle --- .github/workflows/pfioooouuuu.yml | 2 +- bin/capsule_client/dune | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pfioooouuuu.yml b/.github/workflows/pfioooouuuu.yml index 865f5d7..22e427f 100644 --- a/.github/workflows/pfioooouuuu.yml +++ b/.github/workflows/pfioooouuuu.yml @@ -30,7 +30,7 @@ jobs: - run: opam install yourbones yourbones-ppx yourbones_js yourbones_js-beacon - run: opam install yocaml - run: opam install yocaml_unix yocaml_yaml yocaml_jingoo yocaml_syndication - - run: opam exec -- dune build + - run: opam exec -- dune build --profile=release - run: opam exec -- dune exec bin/capsule_cli/capsule.exe -- build - name: Deploy diff --git a/bin/capsule_client/dune b/bin/capsule_client/dune index 3e85769..5c167e0 100644 --- a/bin/capsule_client/dune +++ b/bin/capsule_client/dune @@ -4,7 +4,7 @@ (preprocess (pps js_of_ocaml-ppx)) (js_of_ocaml - (flags :standard)) + (flags :standard --disable shortvar)) (promote (until-clean) (into "../../hell/_build")