Exclude hidden files from release builds
For directories: templates, pages, static
This commit is contained in:
parent
22de459a72
commit
1d89dea72e
6
Makefile
6
Makefile
|
@ -83,9 +83,9 @@ install : build
|
||||||
|
|
||||||
release : clean ui
|
release : clean ui
|
||||||
mkdir -p $(BUILDPATH)
|
mkdir -p $(BUILDPATH)
|
||||||
cp -r templates $(BUILDPATH)
|
rsync -av --exclude=".*" templates $(BUILDPATH)
|
||||||
cp -r pages $(BUILDPATH)
|
rsync -av --exclude=".*" pages $(BUILDPATH)
|
||||||
cp -r static $(BUILDPATH)
|
rsync -av --exclude=".*" static $(BUILDPATH)
|
||||||
rm -r $(BUILDPATH)/static/local
|
rm -r $(BUILDPATH)/static/local
|
||||||
scripts/invalidate-css.sh $(BUILDPATH)
|
scripts/invalidate-css.sh $(BUILDPATH)
|
||||||
mkdir $(BUILDPATH)/keys
|
mkdir $(BUILDPATH)/keys
|
||||||
|
|
Loading…
Reference in New Issue