diff options
-rwxr-xr-x | build | 10 | ||||
-rw-r--r-- | projs/Makefile | 8 |
2 files changed, 11 insertions, 7 deletions
@@ -2,17 +2,13 @@ set -e DISTDIR=$(pwd)/dist/ export DISTDIR - -mkdir dist/projs - export NODE_OPTIONS=--openssl-legacy-provider cd projs/ -yarn install -yarn build -sed -i "s/\/assets/assets/g" dist/index.html +make +mkdir dist/projs +DISTDIR=$DISTDIR/projs/ make install cd .. -mv projs/dist/* dist/projs cd neo2/ make diff --git a/projs/Makefile b/projs/Makefile new file mode 100644 index 0000000..2feef7f --- /dev/null +++ b/projs/Makefile @@ -0,0 +1,8 @@ +.POSIX: +all: + yarn install + yarn build + sed -i "s/\/assets/assets/g" dist/index.html + +install: + cp -r dist/* $(DISTDIR)/ |