2021-06-02 10:23:30 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2021-06-04 11:49:15 -04:00
|
|
|
echo installing yarn
|
|
|
|
|
2021-06-02 10:23:30 -04:00
|
|
|
# install yarn
|
|
|
|
sudo npm install yarn -g
|
|
|
|
|
2021-06-04 11:49:15 -04:00
|
|
|
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
|
|
|
|
2021-06-04 11:49:15 -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
|