Skip to content

Commit

Permalink
Fix language plugin naming for windows (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejressel authored Jul 21, 2024
1 parent 767924b commit 886e811
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pulumi-language-wasm/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,22 @@ fmt:
go fmt .

build-language-plugin $GOOS $GOARCH:
go build -o pulumi-language-wasm
go build

package-language-plugin GOOS GOARCH VERSION:
just build-language-plugin {{GOOS}} {{GOARCH}}
tar czvf pulumi-language-wasm-v{{VERSION}}-{{GOOS}}-{{GOARCH}}.tar.gz pulumi-language-wasm
rm pulumi-language-wasm

package-language-plugin-windows GOOS GOARCH VERSION:
just build-language-plugin {{GOOS}} {{GOARCH}}
tar czvf pulumi-language-wasm-v{{VERSION}}-{{GOOS}}-{{GOARCH}}.tar.gz pulumi-language-wasm.exe
rm pulumi-language-wasm.exe

package-language-plugin-all VERSION:
just package-language-plugin darwin arm64 {{VERSION}}
just package-language-plugin darwin amd64 {{VERSION}}
just package-language-plugin linux arm64 {{VERSION}}
just package-language-plugin linux amd64 {{VERSION}}
just package-language-plugin windows arm64 {{VERSION}}
just package-language-plugin windows amd64 {{VERSION}}
just package-language-plugin-windows windows arm64 {{VERSION}}
just package-language-plugin-windows windows amd64 {{VERSION}}

0 comments on commit 886e811

Please sign in to comment.