Files
cwsvJudo/submodules/Makefile
2024-11-16 10:59:13 +01:00

29 lines
772 B
Makefile

include passwords
.PHONY: updateSubmodules
updateSubmodules: checkoutSubmodulesDefaultBranches
git submodule foreach git pull
.PHONY:
checkoutSubmodulesDefaultBranches:
git -C lite-youtube-embed checkout master
git -C materialize checkout main
git -C parsedown checkout master
git -C spyc checkout master
git -C zopfli checkout master
.PHONY: buildMaterialize
buildMaterialize: updateSubmodules
./buildMaterialize.sh
.PHONY: deployMaterialize
deployMaterialize: buildMaterialize
# @todo correctly check the cert
lftp -e "set ftp:ssl-allow no; mirror -R 'materialize/dist' 'www/ressourcen/materializeCss'; bye;" -u cwsvjudo,$(ftpPassword) cwsvjudo.bplaced.net
.PHONY: clean
clean:
git submodule foreach git clean -xdf
git submodule foreach git restore .