-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
41 lines (32 loc) · 1.02 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
project_name: mouser
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/mouser
env: [CGO_ENABLED=1]
goos: [darwin]
goarch: [amd64]
brews:
- repository:
owner: echocrow
name: homebrew-tap
folder: Formula
homepage: '{{ replace .GitURL ".git" "" }}'
description: Automate actions via mouse gestures.
license: LGPL-3.0-or-later
caveats: |
To configure and run mouser, create and edit the config file:
mkdir -p "$(dirname "$(./mouser --config '?')")" && touch "$(./mouser --config '?')" && echo $_
For examples on how to configure mouser, refer to the homepage:
#{homepage}
Note: The first time you run mouser you may need to provide additional
permissions to the app:
System Perferences > Security & Privacy > Privacy > Accessibility > mouser
Once granted, restart mouser.
service: |
run opt_bin/"mouser"
run_at_load true
keep_alive successful_exit: false
test: |
system "#{bin}/mouser --version"