mirror of
https://github.com/onyx-and-iris/ignr.git
synced 2025-07-26 22:01:57 +00:00
update install link to match new repo name
update taskfile for local builds
This commit is contained in:
parent
bb535f296d
commit
5b389aa9dc
@ -2,7 +2,7 @@
|
|||||||

|

|
||||||

|

|
||||||
|
|
||||||
# ignr-cli
|
# ignr
|
||||||
|
|
||||||
Simple no-frills .gitignore generator backed by the Github API.
|
Simple no-frills .gitignore generator backed by the Github API.
|
||||||
|
|
||||||
@ -11,7 +11,7 @@ Simple no-frills .gitignore generator backed by the Github API.
|
|||||||
## Install
|
## Install
|
||||||
|
|
||||||
```console
|
```console
|
||||||
go install github.com/onyx-and-iris/ignr-cli@latest
|
go install github.com/onyx-and-iris/ignr@latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
@ -41,7 +41,7 @@ export IGNR_FILTER=startswith
|
|||||||
Trigger the selection prompt.
|
Trigger the selection prompt.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
ignr-cli new
|
ignr new
|
||||||
```
|
```
|
||||||
|
|
||||||
The prompt filter can be activated by pressing `/`:
|
The prompt filter can be activated by pressing `/`:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
PROGRAM: ignr-cli
|
PROGRAM: ignr
|
||||||
SHELL: '{{if eq .OS "Windows_NT"}}powershell{{end}}'
|
SHELL: '{{if eq .OS "Windows_NT"}}powershell{{end}}'
|
||||||
BIN_DIR: bin
|
BIN_DIR: bin
|
||||||
VERSION:
|
VERSION:
|
||||||
@ -12,12 +12,12 @@ vars:
|
|||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
default:
|
default:
|
||||||
desc: Build the ignr-cli project
|
desc: Build the ignr project
|
||||||
cmds:
|
cmds:
|
||||||
- task: build
|
- task: build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
desc: Build the ignr-cli project
|
desc: Build the ignr project
|
||||||
deps: [vet]
|
deps: [vet]
|
||||||
cmds:
|
cmds:
|
||||||
- task: build-windows
|
- task: build-windows
|
||||||
@ -35,13 +35,13 @@ tasks:
|
|||||||
- go fmt ./...
|
- go fmt ./...
|
||||||
|
|
||||||
build-windows:
|
build-windows:
|
||||||
desc: Build the ignr-cli project for Windows
|
desc: Build the ignr project for Windows
|
||||||
cmds:
|
cmds:
|
||||||
- GOOS=windows GOARCH=amd64 go build -o {{.WINDOWS}} -ldflags="-X main.version={{.VERSION}}"
|
- GOOS=windows GOARCH=amd64 go build -o {{.WINDOWS}} -ldflags="-X main.version={{.VERSION}}"
|
||||||
internal: true
|
internal: true
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
desc: Build the ignr-cli project for Linux
|
desc: Build the ignr project for Linux
|
||||||
cmds:
|
cmds:
|
||||||
- GOOS=linux GOARCH=amd64 go build -o {{.LINUX}} -ldflags="-X main.version={{.VERSION}}"
|
- GOOS=linux GOARCH=amd64 go build -o {{.LINUX}} -ldflags="-X main.version={{.VERSION}}"
|
||||||
internal: true
|
internal: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user