Skip to content

Commit

Permalink
fix spell
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke committed Jul 27, 2024
1 parent 090ed94 commit 053ba45
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 29 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2

builds:
- binary: $REPO
- binary: __REPO__
goos:
- linux
goarch:
Expand All @@ -20,7 +20,7 @@ builds:
-s -w
# kos:
# - repository: ghcr.io/jkroepke/$REPO
# - repository: ghcr.io/jkroepke/__REPO__
# tags:
# - "{{.Version}}"
# - latest
Expand All @@ -37,7 +37,7 @@ builds:
# org.opencontainers.image.title: "{{.ProjectName}}"
# org.opencontainers.image.revision: "{{.FullCommit}}"
# org.opencontainers.image.version: "{{.Version}}"
# org.opencontainers.image.source: "https://github.com/jkroepke/$REPO"
# org.opencontainers.image.source: "https://github.com/jkroepke/__REPO__"
# org.opencontainers.image.description: "Infinity Datasource Proxy is a middleware designed to enhance the functionality of the Infinity Datasource plugin for Grafana by addressing its limitations and extending its capabilities."
#
# docker_signs:
Expand Down
22 changes: 10 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,14 @@ lint: golangci ## Run linter

.PHONY: fmt ## Format code
fmt: install-tools
@go fmt ./...
@.tools/gci write .
@.tools/gofumpt -l -w .
@.tools/golangci-lint -l -w .
@.tools/goimports -l -w .
@.tools/wsl -strict-append -test=true -fix ./...
@.tools/perfsprint -fix ./...
@.tools/godot -w .
# @-go run go run github.com/ssgreg/nlreturn/v2/cmd/nlreturn@latest -fix ./...
@.tools/golangci-lint run ./... --fix
@-go fmt ./...
@-tools/bin/gci write .
@-tools/bin/gofumpt -l -w .
@-tools/bin/goimports -l -w .
@-tools/bin/wsl -strict-append -test=true -fix ./...
@-tools/bin/perfsprint -fix ./...
@-tools/bin/godot -w .
@tools/bin/golangci-lint run ./... --fix

.PHONY: golangci
golangci:
Expand All @@ -95,14 +93,14 @@ golangci:
TOOLS_MOD_DIR := tools
TOOLS_MOD_REGEX := "\s+_\s+\".*\""
TOOLS_PKG_NAMES := $(shell grep -E $(TOOLS_MOD_REGEX) < $(TOOLS_MOD_DIR)/tools.go | tr -d " _\"")
TOOLS_BIN_DIR := .tools
TOOLS_BIN_DIR := bin
TOOLS_BIN_NAMES := $(addprefix $(TOOLS_BIN_DIR)/, $(notdir $(TOOLS_PKG_NAMES)))

.PHONY: install-tools
install-tools: $(TOOLS_BIN_NAMES)

$(TOOLS_BIN_DIR):
mkdir -p $@
@mkdir -p $@

$(TOOLS_BIN_NAMES): $(TOOLS_BIN_DIR) $(TOOLS_MOD_DIR)/go.mod
go build -C $(TOOLS_MOD_DIR) -o $@ -trimpath $(filter %/$(notdir $@),$(TOOLS_PKG_NAMES))
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[![CI](https://github.com/jkroepke/$REPO/workflows/CI/badge.svg)](https://github.com/jkroepke/$REPO/actions?query=workflow%3ACI)
[![GitHub license](https://img.shields.io/github/license/jkroepke/$REPO)](https://github.com/jkroepke/$REPO/blob/master/LICENSE.txt)
[![Current Release](https://img.shields.io/github/release/jkroepke/$REPO.svg)](https://github.com/jkroepke/$REPO/releases/latest)
[![GitHub all releases](https://img.shields.io/github/downloads/jkroepke/$REPO/total?logo=github)](https://github.com/jkroepke/$REPO/releases/latest)
[![Go Report Card](https://goreportcard.com/badge/github.com/jkroepke/openvpn-auth-oauth2)](https://goreportcard.com/report/github.com/jkroepke/$REPO)
[![codecov](https://codecov.io/gh/jkroepke/$REPO/graph/badge.svg?token=66VT000UYO)](https://codecov.io/gh/jkroepke/$REPO)
[![CI](https://github.com/jkroepke/__REPO__/workflows/CI/badge.svg)](https://github.com/jkroepke/__REPO__/actions?query=workflow%3ACI)
[![GitHub license](https://img.shields.io/github/license/jkroepke/__REPO__)](https://github.com/jkroepke/__REPO__/blob/master/LICENSE.txt)
[![Current Release](https://img.shields.io/github/release/jkroepke/__REPO__.svg)](https://github.com/jkroepke/__REPO__/releases/latest)
[![GitHub all releases](https://img.shields.io/github/downloads/jkroepke/__REPO__/total?logo=github)](https://github.com/jkroepke/__REPO__/releases/latest)
[![Go Report Card](https://goreportcard.com/badge/github.com/jkroepke/openvpn-auth-oauth2)](https://goreportcard.com/report/github.com/jkroepke/__REPO__)
[![codecov](https://codecov.io/gh/jkroepke/__REPO__/graph/badge.svg?token=66VT000UYO)](https://codecov.io/gh/jkroepke/__REPO__)

# $REPO
# __REPO__

⭐ Don't forget to star this repository! ⭐

# License

This project is licensed under the [MIT License](https://github.com/jkroepke/$REPO/blob/main/LICENSE.txt).
This project is licensed under the [MIT License](https://github.com/jkroepke/__REPO__/blob/main/LICENSE.txt).
2 changes: 1 addition & 1 deletion docs/Home.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Home

Welcome to the $REPO wiki!
Welcome to the __REPO__ wiki!
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Documentation of $REPO
# Documentation of __REPO__

Please note, all markdown files are synced with the $REPO wiki to improve the readability of the pages.
Please note, all markdown files are synced with the __REPO__ wiki to improve the readability of the pages.

https://github.com/jkroepke/$REPO/wiki
https://github.com/jkroepke/__REPO__/wiki
2 changes: 1 addition & 1 deletion docs/_Footer.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

This wiki is synced with the [`docs`](https://github.com/jkroepke/$REPO/tree/main/docs) folder from the code repository! To improve the wiki, create a [pull request](https://github.com/jkroepke/$REPO/pulls) against the code repository with the suggested changes.
This wiki is synced with the [`docs`](https://github.com/jkroepke/__REPO__/tree/main/docs) folder from the code repository! To improve the wiki, create a [pull request](https://github.com/jkroepke/__REPO__/pulls) against the code repository with the suggested changes.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/jkropke/$REPO
module github.com/jkroepke/__REPO__

go 1.22

0 comments on commit 053ba45

Please sign in to comment.