1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-12-25 17:08:22 +01:00

update makefiles

This commit is contained in:
lxsang 2019-12-19 23:09:26 +01:00
parent de27382595
commit cecbb230d1
6 changed files with 9 additions and 14 deletions

View File

@ -13,8 +13,8 @@ endif
main: js
- mkdir -p $(BUILDDIR)/assets
cp -rf $(copyfiles) $(BUILDDIR)
cp -r assets/css assets/scripts $(BUILDDIR)/assets
cp -rvf $(copyfiles) $(BUILDDIR)
cp -rv assets/css assets/scripts $(BUILDDIR)/assets
- cd $(BUILDDIR) && ln -s ../grs ./rst
js:

View File

@ -2,6 +2,5 @@ copyfiles = assets views models controllers router.lua
main:
- mkdir $(BUILDDIR)
- cp -rf $(copyfiles) $(BUILDDIR)
cp -rvf $(copyfiles) $(BUILDDIR)
- cd $(BUILDDIR) && ln -s ../grs ./rst

View File

@ -1,5 +1,5 @@
copyfiles = router.lua shs
main:
- mkdir -p $(BUILDDIR)
cp -rf $(copyfiles) $(BUILDDIR)
cp -rvf $(copyfiles) $(BUILDDIR)
- cd $(BUILDDIR) && ln -s ../grs ./rst

View File

@ -1,10 +1,6 @@
BUILDDIR = ../build/grs
copyfiles = katex font-awesome.css fonts images sendmail.lua subscribe.lua subscribe.html main.js ubuntu-regular.css mainsite.css sendto.html hermit-light.css hljs
main:
- mkdir $(BUILDDIR)
cp -rf $(copyfiles) $(BUILDDIR)
- cd $(BUILDDIR) && ln -s ../os/resources ./resources && ln -s ../os/scripts/ ./gscripts
clean:
rm -rf $(BUILDDIR)/*
cp -rvf $(copyfiles) $(BUILDDIR)
- cd $(BUILDDIR) && ln -s ../os/resources ./resources && ln -s ../os/scripts/ ./gscripts

View File

@ -2,5 +2,5 @@ copyfiles = style.css router.lua models views controllers robot.txt
main:
- mkdir $(BUILDDIR)
cp -rf $(copyfiles) $(BUILDDIR)
cp -rvf $(copyfiles) $(BUILDDIR)
- cd $(BUILDDIR) && ln -s ../grs ./rst

View File

@ -1,6 +1,6 @@
copyfiles = views models controllers logs libs router.lua
copyfiles = controllers libs router.lua
main:
- mkdir $(BUILDDIR)
- cp -rfv $(copyfiles) $(BUILDDIR)
cp -rfv $(copyfiles) $(BUILDDIR)
- cd $(BUILDDIR) && ln -s ../grs ./rst