summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild10
-rw-r--r--projs/Makefile8
2 files changed, 11 insertions, 7 deletions
diff --git a/build b/build
index 38d66c2..cb3f805 100755
--- a/build
+++ b/build
@@ -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)/