From d8b3e15bec60f58defad13e961f80354d250235d Mon Sep 17 00:00:00 2001 From: polwex Date: Sat, 14 Jun 2025 23:30:34 +0700 Subject: aaaaaa --- bs5/dune | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 bs5/dune (limited to 'bs5/dune') diff --git a/bs5/dune b/bs5/dune new file mode 100644 index 0000000..1538fad --- /dev/null +++ b/bs5/dune @@ -0,0 +1,36 @@ +(rule + (alias demo) + (enabled_if + (= %{profile} "dev")) + (deps + server/server.exe + ; (alias_rec client) + ) + (action + (progn + ; we want dune to write the file but not attach any fsevents listeners to it, + ; so that watchexec can read from it without issues. + ; this means no (target), no (with-stdout-to), just a bash command with stdout + ; redirect inside a string + (bash "date > %{project_root}/.running/built_at.txt")))) + +(install + (section bin) + (enabled_if + (= %{profile} dev)) + (files + ("./js/node_modules/@tailwindcss/cli/dist/index.mjs" as tailwind))) + +; (rule +; (target output.css) +; (enabled_if +; (= %{profile} dev)) +; (alias client) +; (deps +; (source_tree ./) +; (source_tree ./../server) +; (:config tailwind.config.js) +; (:input styles.css)) +; (action +; (progn +; (run tailwind --config=%{config} --input=%{input} --output=%{target})))) -- cgit v1.2.3