-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start using goreleaser. Update README.
- Loading branch information
Showing
9 changed files
with
75 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
autocorrector | ||
autocorrector-server.service | ||
|
||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
before: | ||
hooks: | ||
- go mod tidy | ||
builds: | ||
- env: | ||
- CGO_ENABLED=1 | ||
goos: | ||
- linux | ||
goarch: | ||
- amd64 | ||
|
||
nfpms: | ||
- id: github.com/joshuar/autocorrector | ||
package_name: autocorrector | ||
replacements: | ||
amd64: 64-bit | ||
linux: Tux | ||
vendor: joshuar | ||
homepage: https://github.com/joshuar/autocorrector | ||
maintainer: Joshua Rich <[email protected]> | ||
description: Autocorrector is a tool similar to Autokey or AutoHotKey, but targeted mainly at word replacements. | ||
license: Apache 2.0 | ||
formats: | ||
- deb | ||
- rpm | ||
dependencies: | ||
- libappindicator-gtk3 | ||
contents: | ||
- src: autocorrector-server.service | ||
dst: /etc/systemd/system/autocorrector-server.service | ||
- src: autocorrector-client.service | ||
dst: /usr/local/share/autocorrector/autocorrector-client.service | ||
- src: LICENSE | ||
dst: /usr/local/share/autocorrector/LICENSE | ||
- src: README.md | ||
dst: /usr/local/share/autocorrector/README.md | ||
- src: corrections.toml | ||
dst: /usr/local/share/autocorrector/corrections.toml | ||
archives: | ||
- replacements: | ||
linux: Linux | ||
amd64: x86_64 | ||
files: | ||
- LICENSE | ||
- README.md | ||
- corrections.toml | ||
- autocorrector-client.service | ||
- autocorrector-server.service | ||
checksum: | ||
name_template: 'checksums.txt' | ||
snapshot: | ||
name_template: "{{ .Tag }}-next" | ||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
[Unit] | ||
Description=Autocorrector Service | ||
Requires=plasma-plasmashell.service | ||
After=plasma-plasmashell.service | ||
Description=Autocorrector Client | ||
|
||
[Service] | ||
Type=exec | ||
RemainAfterExit=yes | ||
ExecStart=%h/gocode/bin/autocorrector client --profile | ||
ExecStart=/usr/local/bin/autocorrector client | ||
|
||
[Install] | ||
WantedBy=default.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters