forked from tangled.org/core
this repo has no description
at master 975 B view raw
1{ 2 runCommandLocal, 3 htmx-src, 4 htmx-ws-src, 5 lucide-src, 6 inter-fonts-src, 7 ibm-plex-mono-src, 8 sqlite-lib, 9 tailwindcss, 10 src, 11}: 12runCommandLocal "appview-static-files" { 13 # TOOD(winter): figure out why this is even required after 14 # changing the libraries that the tailwindcss binary loads 15 sandboxProfile = '' 16 (allow file-read* (subpath "/System/Library/OpenSSL")) 17 ''; 18} '' 19 mkdir -p $out/{fonts,icons} && cd $out 20 cp -f ${htmx-src} htmx.min.js 21 cp -f ${htmx-ws-src} htmx-ext-ws.min.js 22 cp -rf ${lucide-src}/*.svg icons/ 23 cp -f ${inter-fonts-src}/web/InterVariable*.woff2 fonts/ 24 cp -f ${inter-fonts-src}/web/InterDisplay*.woff2 fonts/ 25 cp -f ${ibm-plex-mono-src}/fonts/complete/woff2/IBMPlexMono*.woff2 fonts/ 26 # tailwindcss -c $src/tailwind.config.js -i $src/input.css -o tw.css won't work 27 # for whatever reason (produces broken css), so we are doing this instead 28 cd ${src} && ${tailwindcss}/bin/tailwindcss -i input.css -o $out/tw.css 29''