all repos — site @ 950e99b40722faa344912c7576df9c702925ad74

source for my site, found at icyphox.sh

bin/build.sh (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
#!/bin/sh


npm install tailwindcss @tailwindcss/cli

rm -rf go-vite
git clone https://tangled.sh/@icyphox.sh/vite
cd vite && make && cd ..
mkdir build

if [ "$VITE_ENV" = "production" ]; then
  vite/vite build
else
  vite/vite build --drafts
fi