Skip to content

Commit

Permalink
add wgo cli application
Browse files Browse the repository at this point in the history
  • Loading branch information
zbiljic committed Feb 14, 2025
1 parent 74a078d commit efac67e
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
16 changes: 16 additions & 0 deletions home/dot_local/cli/.github.com/wgo-arm64-darwin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$extends": "wgo.json",
"config": {
"url": "{{.this.url}}/releases/download/v{{.this.version}}/{{.this.name}}-{{.chezmoi.os}}-{{.chezmoi.arch}}"
},
"remap": {
".chezmoi.os": {
"darwin": "macos",
"linux": ""
},
".chezmoi.arch": {
"amd64": "",
"arm64": "apple-silicon"
}
}
}
23 changes: 23 additions & 0 deletions home/dot_local/cli/.github.com/wgo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "wgo",
"url": "https://github.com/bokwoon95/wgo",
"version": "0.5.10",
"config": {
"type": "file",
"url": "{{.this.url}}/releases/download/v{{.this.version}}/{{.this.name}}-{{.chezmoi.os}}",
"executable": true
},
"remap": {
".chezmoi.os": {
"darwin": "",
"linux": "linux"
},
".chezmoi.arch": {
"amd64": "",
"arm64": ""
}
},
"condition": {
".chezmoi.config.data.ephemeral": false
}
}
4 changes: 4 additions & 0 deletions home/dot_local/exact_czbin/symlink_wgo.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{ $path := joinPath .chezmoi.homeDir ".local/cli/wgo" }}
{{ if stat $path }}
{{ $path }}
{{ end }}

0 comments on commit efac67e

Please sign in to comment.