mirror of
https://github.com/foomo/sesamy-cli.git
synced 2025-10-16 12:35:36 +00:00
chore: update configs
This commit is contained in:
parent
ae728d67ce
commit
544e2e157d
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -14,9 +14,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
- name: Unshallow
|
fetch-depth: 0
|
||||||
run: git fetch --prune --unshallow
|
|
||||||
|
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: checks
|
name: Test Branch
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
29
.gitignore
vendored
29
.gitignore
vendored
@ -1,14 +1,25 @@
|
|||||||
.*
|
.*
|
||||||
|
*.zip
|
||||||
|
*.tar
|
||||||
|
*.out
|
||||||
*.log
|
*.log
|
||||||
!.github/
|
/bin/
|
||||||
!.husky/
|
/tmp/
|
||||||
!.editorconfig
|
|
||||||
|
## Git
|
||||||
|
!.gitkeep
|
||||||
!.gitignore
|
!.gitignore
|
||||||
|
|
||||||
|
## GitHub
|
||||||
|
!.github/
|
||||||
|
|
||||||
|
## Editorconfig
|
||||||
|
!.editorconfig
|
||||||
|
|
||||||
|
## Husky
|
||||||
|
!.husky/
|
||||||
|
!.husky.yaml
|
||||||
|
|
||||||
|
## Golang
|
||||||
!.golangci.yml
|
!.golangci.yml
|
||||||
!.goreleaser.yml
|
!.goreleaser.yml
|
||||||
!.husky.yaml
|
|
||||||
!.yamllint.yaml
|
|
||||||
/bin/
|
|
||||||
/coverage.out
|
|
||||||
/coverage.html
|
|
||||||
/tmp/
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
# .goreleaser.yml
|
version: 2
|
||||||
# Build customization
|
|
||||||
builds:
|
builds:
|
||||||
- binary: sesamy
|
- binary: sesamy
|
||||||
main: ./main.go
|
main: ./main.go
|
||||||
@ -13,7 +13,7 @@ builds:
|
|||||||
- amd64
|
- amd64
|
||||||
- arm64
|
- arm64
|
||||||
goarm:
|
goarm:
|
||||||
- 7
|
- '7'
|
||||||
flags:
|
flags:
|
||||||
- -trimpath
|
- -trimpath
|
||||||
ldflags:
|
ldflags:
|
||||||
@ -32,7 +32,6 @@ changelog:
|
|||||||
use: github-native
|
use: github-native
|
||||||
|
|
||||||
brews:
|
brews:
|
||||||
# Repository to push the tap to.
|
|
||||||
- repository:
|
- repository:
|
||||||
owner: foomo
|
owner: foomo
|
||||||
name: homebrew-tap
|
name: homebrew-tap
|
||||||
|
|||||||
19
Makefile
19
Makefile
@ -49,19 +49,22 @@ tidy:
|
|||||||
outdated:
|
outdated:
|
||||||
@go list -u -m -json all | go-mod-outdated -update -direct
|
@go list -u -m -json all | go-mod-outdated -update -direct
|
||||||
|
|
||||||
## Install binary
|
.PHONY: build
|
||||||
install:
|
|
||||||
@go build -o ${GOPATH}/bin/sesamy main.go
|
|
||||||
|
|
||||||
## Install debug binary
|
|
||||||
install.debug:
|
|
||||||
@go build -gcflags "all=-N -l" -o ${GOPATH}/bin/sesamy main.go
|
|
||||||
|
|
||||||
## Build binary
|
## Build binary
|
||||||
build:
|
build:
|
||||||
@mkdir -p bin
|
@mkdir -p bin
|
||||||
@go build -o bin/sesamy main.go
|
@go build -o bin/sesamy main.go
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
|
## Install binary
|
||||||
|
install:
|
||||||
|
@go build -o ${GOPATH}/bin/sesamy main.go
|
||||||
|
|
||||||
|
.PHONY: install.debug
|
||||||
|
## Install debug binary
|
||||||
|
install.debug:
|
||||||
|
@go build -gcflags "all=-N -l" -o ${GOPATH}/bin/sesamy main.go
|
||||||
|
|
||||||
## === Utils ===
|
## === Utils ===
|
||||||
|
|
||||||
## Show help text
|
## Show help text
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user