objective categorical abstract machine language personal data server
at main 101 lines 1.9 kB view raw
1(subdir 2 public/ 3 (rule 4 (target index.css) 5 (deps 6 %{workspace_root}/tools/tailwindcss/tailwindcss 7 (:input %{workspace_root}/public/main.css) 8 (source_tree %{workspace_root}/public) 9 (source_tree %{workspace_root}/frontend)) 10 (action 11 (chdir 12 %{workspace_root} 13 (run 14 %{workspace_root}/tools/tailwindcss/tailwindcss 15 -m 16 -i 17 %{input} 18 -o 19 %{target}))))) 20 21(subdir 22 public/ 23 (rule 24 (alias client) 25 (target client.js) 26 (deps 27 (:script ../frontend/build.mjs) 28 (:entrypoints ../frontend/client/client/frontend/client/client.js) 29 (alias_rec ../frontend/melange) 30 (package frontend)) 31 (action 32 (run 33 node 34 %{script} 35 %{entrypoints} 36 --output=./client.js 37 --extract=true 38 --env=%{profile})))) 39 40(subdir 41 bin/ 42 (rule 43 (target public.ml) 44 (deps 45 (file ../public/client.js) 46 (file ../public/index.css) 47 (file ../public/favicon.ico) 48 (source_tree ../public/fonts)) 49 (action 50 (with-stdout-to 51 %{null} 52 (run 53 ocaml-crunch 54 -e 55 woff 56 -e 57 woff2 58 -e 59 js 60 -e 61 css 62 -e 63 ico 64 -m 65 plain 66 ../public 67 -o 68 %{target}))))) 69 70(subdir 71 pegasus/lib/migrations/ 72 (rule 73 (target data_store_migrations_sql.ml) 74 (deps 75 (source_tree ./data_store)) 76 (action 77 (with-stdout-to 78 %{null} 79 (run ocaml-crunch -e sql -m plain ./data_store -o %{target}))))) 80 81(subdir 82 pegasus/lib/migrations/ 83 (rule 84 (target user_store_migrations_sql.ml) 85 (deps 86 (source_tree ./user_store)) 87 (action 88 (with-stdout-to 89 %{null} 90 (run ocaml-crunch -e sql -m plain ./user_store -o %{target}))))) 91 92(subdir 93 pegasus/lib 94 (rule 95 (target version.ml) 96 (deps (universe)) 97 (action 98 (with-stdout-to 99 %{target} 100 (bash 101 "echo 'let commit_hash = \"pegasus '${GIT_REV:=$(git rev-parse --short HEAD 2>/dev/null || echo 'dev')}'\"'")))))