Skip to content

Commit 0a0f3e3

Browse files
authored
Merge pull request #36 from lawrencegripper/patch-1
Add support for homebrew
2 parents fb78ed9 + 2711208 commit 0a0f3e3

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ RUN \
4848
# --> GolangCI-lint
4949
&& curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sed 's/tar -/tar --no-same-owner -/g' | sh -s -- -b $(go env GOPATH)/bin \
5050
# --> Go releaser
51-
&& curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh -s -- "v0.132.1"\
51+
&& curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh -s -- "v0.164.0"\
5252
# --> Install junit converter
5353
&& go get github.com/jstemmer/[email protected] \
5454
&& rm -rf /go/src/ && rm -rf /go/pkg

.goreleaser.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ archives:
2020
- goos: windows
2121
format: zip
2222

23+
brews:
24+
- tap:
25+
owner: stuartleeks
26+
name: homebrew-tap
27+
folder: Formula
28+
homepage: https://github.com/stuartleeks/devcontainer-cli
29+
description: CLI for working with Visual Studio Code devcontainers
30+
test: |
31+
system "#{bin}/devcontainer --version"
32+
2333
changelog:
2434
sort: asc
2535
filters:

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Head to the [latest release page](https://github.com/stuartleeks/devcontainer-cl
1010

1111
Extract `devcontainer` from the archive and place in a folder in your `PATH`.
1212

13+
You can also install using `homebrew` with `brew install stuartleeks/tap/devcontainer`
14+
1315
Or if you just don't care and are happy to run random scripts from the internet:
1416

1517
```bash

0 commit comments

Comments
 (0)