stacker.news/.platform/hooks/prebuild/00_build.sh

19 lines
253 B
Bash
Executable File

#!/usr/bin/env bash
echo installing yarn
# install yarn
sudo npm install yarn -g
echo link
# make sure it's in path
sudo ln -s "$(npm bin --global)"/yarn /usr/bin/yarn
echo gen primsa client
prisma generate
echo try to build
# build it
yarn build