-
-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (18 loc) · 602 Bytes
/
Makefile
File metadata and controls
22 lines (18 loc) · 602 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
build-module-zip: create-env build-assets build-zip
build-zip:
rm -rf falcon.zip
cp -Raf $(PWD) /tmp
rm -rf /tmp/falcon/assets/cache
rm -rf /tmp/falcon/_dev/node_modules
rm -rf /tmp/falcon/_dev/webpack/.env
rm -rf /tmp/falcon/.github
rm -rf /tmp/falcon/.gitignore
rm -rf /tmp/falcon/.php-cs-fixer.cache
rm -rf /tmp/falcon/.git
mv -v /tmp/falcon $(PWD)/falcon
cd falcon && zip -r ../falcon.zip .
rm -rf $(PWD)/falcon
create-env:
cp -v $(PWD)/_dev/webpack/.env-example $(PWD)/_dev/webpack/.env
build-assets:
cd _dev && . ${HOME}/.nvm/nvm.sh && nvm install && yarn install && yarn build