From b1c6cc8163f082688acfbc594cbfce218d58ed80 Mon Sep 17 00:00:00 2001 From: mrz1836 Date: Sat, 9 Jul 2022 10:44:14 -0400 Subject: [PATCH] Minor cleanup --- .github/workflows/run-tests.yml | 2 -- Makefile | 7 +++++-- README.md | 8 ++++---- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 3507a24..60f5743 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -11,8 +11,6 @@ on: push: branches: - "*" - # schedule: - # - cron: '1 4 * * *' jobs: yamllint: diff --git a/Makefile b/Makefile index 0d263d2..d8c8983 100644 --- a/Makefile +++ b/Makefile @@ -14,11 +14,11 @@ ifeq ($(REPO_OWNER),) REPO_OWNER="mrz1836" endif -.PHONY: clean install-all-contributors update-contributors - +.PHONY: all all: ## Runs multiple commands @$(MAKE) test +.PHONY: clean clean: ## Remove previous builds and any cached data @echo "cleaning local cache..." @go clean -cache -testcache -i -r @@ -26,13 +26,16 @@ clean: ## Remove previous builds and any cached data @test $(DISTRIBUTIONS_DIR) @if [ -d $(DISTRIBUTIONS_DIR) ]; then rm -r $(DISTRIBUTIONS_DIR); fi +.PHONY: install-all-contributors install-all-contributors: ## Installs all contributors locally @echo "installing all-contributors cli tool..." @yarn global add all-contributors-cli +.PHONY: release release:: ## Runs common.release then runs godocs @$(MAKE) godocs +.PHONY: update-contributors update-contributors: ## Regenerates the contributors html/list @echo "generating contributor html..." @all-contributors generate diff --git a/README.md b/README.md index 03a369c..90aaa78 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,9 @@ [![Mergify Status](https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/mrz1836/go-template&style=flat&v=1)](https://mergify.io) [![Go](https://img.shields.io/github/go-mod/go-version/mrz1836/go-template?v=1)](https://golang.org/)
-[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/mrz1836/go-template) -[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat)](https://github.com/RichardLitt/standard-readme) -[![Makefile Included](https://img.shields.io/badge/Makefile-Supported%20-brightgreen?=flat&logo=probot)](Makefile) +[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod&v=1)](https://gitpod.io/#https://github.com/mrz1836/go-template) +[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat&v=1)](https://github.com/RichardLitt/standard-readme) +[![Makefile Included](https://img.shields.io/badge/Makefile-Supported%20-brightgreen?=flat&logo=probot&v=1)](Makefile) [![Sponsor](https://img.shields.io/badge/sponsor-mrz1836-181717.svg?logo=github&style=flat&v=1)](https://github.com/sponsors/mrz1836) [![Donate](https://img.shields.io/badge/donate-bitcoin-ff9900.svg?logo=bitcoin&style=flat&v=1)](https://gobitcoinsv.com/#sponsor?utm_source=github&utm_medium=sponsor-link&utm_campaign=go-template&utm_term=go-template&utm_content=go-template) @@ -251,7 +251,7 @@ The most basic way to show your support is to star :star2: the project, or to ra You can also support this project by [becoming a sponsor on GitHub](https://github.com/sponsors/mrz1836) :clap: or by making a [**bitcoin donation**](https://gobitcoinsv.com/#sponsor?utm_source=github&utm_medium=sponsor-link&utm_campaign=go-template&utm_term=go-template&utm_content=go-template) to ensure this journey continues indefinitely! :rocket: -[![Stars](https://img.shields.io/github/stars/mrz1836/go-template?label=Please%20like%20us&style=social)](https://github.com/mrz1836/go-template/stargazers) +[![Stars](https://img.shields.io/github/stars/mrz1836/go-template?label=Please%20like%20us&style=social&v=1)](https://github.com/mrz1836/go-template/stargazers)