diff options
author | Aleksander Machniak <alec@alec.pl> | 2021-10-26 12:34:47 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2021-10-26 12:34:47 +0300 |
commit | 54bf7351e9ce665be94ba033cf4e8c7cdabb59fe (patch) | |
tree | cb4ac0c6014a7d1e1169897e837a5654a5ff103f /Makefile | |
parent | 501e5381460f3d1d2c78ebe30abeab3e8ecae292 (diff) |
Makefile: Speed up git clone by using --branch and --depth=1 arguments
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; \ |