Add Makefile to bundle in app

This commit is contained in:
rijkvanzanten
2020-07-24 16:45:42 -04:00
parent cfbec943a3
commit e6dcf0d83e
5 changed files with 23 additions and 5 deletions

6
Makefile Normal file
View File

@@ -0,0 +1,6 @@
bundle:
npm run build
git clone git@github.com:directus/app-next.git tmp-app
cd tmp-app && npm install && npm run build
cp -r tmp-app/dist dist/admin
rm -rf tmp-app