mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-21 15:26:58 +01:00
Makefile: Speed up git clone by using --branch and --depth=1 arguments
This commit is contained in:
3
Makefile
3
Makefile
@@ -53,8 +53,7 @@ shasum:
|
||||
shasum -a 256 roundcubemail-$(VERSION).tar.gz roundcubemail-$(VERSION)-complete.tar.gz roundcube-framework-$(VERSION).tar.gz
|
||||
|
||||
roundcubemail-git: buildtools
|
||||
git clone $(GITREMOTE) roundcubemail-git
|
||||
(cd roundcubemail-git; git checkout $(GITBRANCH))
|
||||
git clone --branch=$(GITBRANCH) --depth=1 $(GITREMOTE) roundcubemail-git
|
||||
(cd roundcubemail-git; bin/jsshrink.sh; bin/updatecss.sh; bin/cssshrink.sh)
|
||||
(cd roundcubemail-git/skins/elastic; \
|
||||
lessc --clean-css="--s1 --advanced" styles/styles.less > styles/styles.min.css; \
|
||||
|
||||
Reference in New Issue
Block a user