mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-26 01:18:21 +01:00
add release archive
This commit is contained in:
parent
cc4081f9a0
commit
43f96af920
10
Makefile
10
Makefile
@ -5,6 +5,8 @@ DOCDIR?=/opt/www/htdocs/doc/antos
|
||||
BLUE=\033[1;34m
|
||||
NC=\033[0m
|
||||
|
||||
VERSION=1.0.0
|
||||
|
||||
GSED=sed
|
||||
UNAME_S := $(shell uname -s)
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
@ -189,6 +191,14 @@ uglify:
|
||||
test -f $(BUILDDIR)/packages/$$d/main.css && uglifycss --output $(BUILDDIR)/packages/$$d/main.css $(BUILDDIR)/packages/$$d/main.css;\
|
||||
done
|
||||
|
||||
ar:
|
||||
-[ -d /tmp/antos-$(VERSION) ] && rm -r /tmp/antos-$(VERSION)
|
||||
-[ -f /tmp/antos-$(VERSION).tar.gz ] && rm /tmp/antos-$(VERSION).tar.gz
|
||||
mkdir /tmp/antos-$(VERSION)
|
||||
BUILDDIR=/tmp/antos-$(VERSION) make release
|
||||
cd /tmp/antos-$(VERSION) && tar cvzf ../antos-$(VERSION).tar.gz .
|
||||
mv /tmp/antos-$(VERSION).tar.gz release/
|
||||
|
||||
release: main uglify
|
||||
|
||||
doc:
|
||||
|
BIN
release/antos-1.0.0.tar.gz
Normal file
BIN
release/antos-1.0.0.tar.gz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user