octolab/Cleaner

View on GitHub
Makefile

Summary

Maintainability
Test Coverage
.PHONY: pull-github-tpl
pull-github-tpl:
    rm -rf .github
    git clone git@github.com:kamilsk/shared.git .github
    ( \
      cd .github && \
      git checkout github-tpl-php-v1 && \
      git branch -d master && \
      echo '- ' $$(cat README.md | head -n1 | awk '{print $$3}') 'at revision' $$(git rev-parse HEAD) \
    )
    rm -rf .github/.git .github/README.md

.PHONY: pull-makes
pull-makes:
    rm -rf makes
    git clone git@github.com:kamilsk/shared.git makes
    ( \
      cd makes && \
      git checkout makefile-php-v1 && \
      git branch -d master && \
      echo '- ' $$(cat README.md | head -n1 | awk '{print $$3}') 'at revision' $$(git rev-parse HEAD) \
    )
    rm -rf makes/.git