Skip to content

Commit

Permalink
Merge pull request #4162 from aquaproj/feat/watchexec-windows
Browse files Browse the repository at this point in the history
feat(watchexec/watchexec): windows support
  • Loading branch information
suzuki-shunsuke authored Jun 17, 2022
2 parents f4126bd + b580665 commit 4f81869
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion pkgs/watchexec/watchexec/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ packages:
- type: github_release
repo_owner: watchexec
repo_name: watchexec
asset: 'watchexec-{{trimPrefix "cli-v" .Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
description: Executes commands in response to file modifications
rosetta2: true
asset: 'watchexec-{{trimPrefix "cli-v" .Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
supported_if: not (GOOS == "windows" and GOARCH == "arm64")
format: tar.xz
format_overrides:
- goos: windows
format: zip
replacements:
windows: pc-windows-msvc
darwin: apple-darwin
amd64: x86_64
arm64: aarch64
Expand Down
4 changes: 3 additions & 1 deletion registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -8782,11 +8782,13 @@
"amd64": "x86_64",
"arm64": "aarch64",
"darwin": "apple-darwin",
"linux": "unknown-linux-musl"
"linux": "unknown-linux-musl",
"windows": "pc-windows-msvc"
},
"repo_name": "watchexec",
"repo_owner": "watchexec",
"rosetta2": true,
"supported_if": "not (GOOS == \"windows\" and GOARCH == \"arm64\")",
"type": "github_release"
},
{
Expand Down
4 changes: 3 additions & 1 deletion registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5881,14 +5881,16 @@ packages:
- type: github_release
repo_owner: watchexec
repo_name: watchexec
asset: 'watchexec-{{trimPrefix "cli-v" .Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
description: Executes commands in response to file modifications
rosetta2: true
asset: 'watchexec-{{trimPrefix "cli-v" .Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
supported_if: not (GOOS == "windows" and GOARCH == "arm64")
format: tar.xz
format_overrides:
- goos: windows
format: zip
replacements:
windows: pc-windows-msvc
darwin: apple-darwin
amd64: x86_64
arm64: aarch64
Expand Down

0 comments on commit 4f81869

Please sign in to comment.