Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2021-10-26 12:34:47 +0300
committerAleksander Machniak <alec@alec.pl>2021-10-26 12:34:47 +0300
commit54bf7351e9ce665be94ba033cf4e8c7cdabb59fe (patch)
treecb4ac0c6014a7d1e1169897e837a5654a5ff103f /Makefile
parent501e5381460f3d1d2c78ebe30abeab3e8ecae292 (diff)
Makefile: Speed up git clone by using --branch and --depth=1 arguments
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0176f7f5c..ddb54d322 100644
--- a/Makefile
+++ b/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; \