-
-
Notifications
You must be signed in to change notification settings - Fork 417
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also updates our goreleaser setup to work again
- Loading branch information
Showing
11 changed files
with
126 additions
and
219 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Lint | ||
on: [push] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
env: | ||
GOPATH: ${{ github.workspace }} | ||
GOBIN: ${{ github.workspace }}/bin | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18.x | ||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- run: npm ci | ||
working-directory: ./webext | ||
- name: Is web extension 'pretty'? | ||
run: npm run lint | ||
working-directory: ./webext | ||
|
||
- name: Is Golang interfacer formatted? | ||
run: ./ctl.sh golang_lint_check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# Run with `ctl.sh release` to get ENV vars | ||
|
||
project_name: browsh | ||
builds: | ||
- binary: browsh | ||
env: | ||
- CGO_ENABLED=0 | ||
main: cmd/browsh/main.go | ||
goos: | ||
- windows | ||
- darwin | ||
- linux | ||
- freebsd | ||
- openbsd | ||
goarch: | ||
- 386 | ||
- amd64 | ||
- arm | ||
- arm64 | ||
goarm: | ||
- 6 | ||
- 7 | ||
ignore: | ||
- goos: darwin | ||
goarch: 386 | ||
- goarch: arm64 | ||
goos: windows | ||
ldflags: -s -w | ||
|
||
archives: | ||
- format_overrides: | ||
- goos: windows | ||
format: binary | ||
- goos: linux | ||
format: binary | ||
- goos: freebsd | ||
format: binary | ||
- goos: openbsd | ||
format: binary | ||
|
||
nfpms: | ||
- vendor: Browsh | ||
homepage: https://www.brow.sh | ||
maintainer: Thomas Buckley-Houston <[email protected]> | ||
description: The modern, text-based browser | ||
license: GPL v3 | ||
formats: | ||
- deb | ||
- rpm | ||
dependencies: | ||
- firefox | ||
overrides: | ||
deb: | ||
dependencies: | ||
- 'firefox | firefox-esr' | ||
|
||
brews: | ||
- name: browsh | ||
tap: | ||
owner: browsh-org | ||
name: homebrew-browsh | ||
commit_author: | ||
name: Goreleaser Bot care of Github Actions | ||
email: [email protected] | ||
homepage: "https://www.brow.sh" | ||
description: "The modern, text-based browser" | ||
caveats: "You need Firefox 57 or newer to run Browsh" | ||
|
||
release: | ||
extra_files: | ||
- glob: ./webext/dist/web-ext-artifacts/browsh-{{ Env.BROWSH_VERSION }}-an+fx.xpi |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
//go:build windows | ||
// +build windows | ||
|
||
package browsh | ||
|
||
|
Oops, something went wrong.