stacker.news/build.sh

16 lines
218 B
Bash
Raw Normal View History

2021-06-02 10:23:30 -04:00
#!/usr/bin/env bash
echo installing yarn
2021-06-02 10:23:30 -04:00
# install yarn
sudo npm install yarn -g
echo link
2021-06-03 22:36:51 -04:00
# make sure it's in path
2021-06-03 22:42:52 -04:00
sudo ln -s "$(npm bin --global)"/yarn /usr/bin/yarn
2021-06-03 22:36:51 -04:00
echo try to build
2021-06-02 10:23:30 -04:00
# build it
2021-06-03 23:14:23 -04:00
sudo yarn build