Files
cwsvJudo/submodules/Makefile
2023-03-19 15:49:33 +01:00

23 lines
664 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
echo $(ftpPassword)
find materialize/dist/ -type f -exec curl -u cwsvjudo:$(ftpPassword) --ftp-create-dirs -T {} ftp://cwsvjudo.bplaced.net/ressourcen/materializeCss/{} \;