Skip to content

Commit

Permalink
chore: Add support for m1 macs
Browse files Browse the repository at this point in the history
  • Loading branch information
athul committed Oct 27, 2021
1 parent 281761c commit 7a6713b
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 38 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ main
.DS_Store
shelby

.vscode/
.vscode/dist/
dist/
57 changes: 27 additions & 30 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,45 @@
# This is an example goreleaser.yaml file with some sane defaults.
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# you may remove this if you don't use vgo
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go get -v
- go get -v
builds:
-

env:
- CGO_ENABLED=0
ldflags:
- -s -w
goos:
- darwin
- linux
goarch:
- amd64
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
- arm
archives:
- replacements:
darwin: Darwin
linux: Linux
amd64: x86_64
- replacements:
darwin: Darwin
linux: Linux
checksum:
name_template: 'checksums.txt'
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}"
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- "^docs:"
- "^test:"
release:
github:
owner: athul
name: shelby
brews:
- name: shelby
github:
owner: athul
name: homebrew-tap
folder: Formula
homepage: "https://github.com/athul/shelby"
description: "A fast and minimal Shell Prompt in Go with 🦋"
install: bin.install "shelby"
- name: shelby
tap:
owner: athul
name: homebrew-tap
folder: Formula
homepage: "https://github.com/athul/shelby"
description: "A fast and minimal Shell Prompt in Go"
install: bin.install "shelby"%
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/athul/shelby

go 1.13
go 1.16

require (
github.com/talal/go-bits v0.0.0-20190324183132-a7ebf0762b92
github.com/urfave/cli v1.22.2
github.com/talal/go-bits v0.0.0-20200204154716-071e9f3e66e1
github.com/urfave/cli v1.22.5
)
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
github.com/talal/go-bits v0.0.0-20190324183132-a7ebf0762b92 h1:1LvKJTH/p98VB1LliH1ymRmtuhFvVBCkl4Ru+5zwDIE=
github.com/talal/go-bits v0.0.0-20190324183132-a7ebf0762b92/go.mod h1:IaWL8TVo0gKkfVx+4RbcRkzp6FoeMqEtD88+5aCRwyY=
github.com/urfave/cli v1.22.2 h1:gsqYFH8bb9ekPA12kRo0hfjngWQjkJPlN9R0N78BoUo=
github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
github.com/talal/go-bits v0.0.0-20200204154716-071e9f3e66e1 h1:sDCJkxkdgPIDUKcOemdIsP2AnUjtLTVSlUDkAnf3fB4=
github.com/talal/go-bits v0.0.0-20200204154716-071e9f3e66e1/go.mod h1:IaWL8TVo0gKkfVx+4RbcRkzp6FoeMqEtD88+5aCRwyY=
github.com/urfave/cli v1.22.5 h1:lNq9sAHXK2qfdI8W+GRItjCEkI+2oR4d+MEHy1CKXoU=
github.com/urfave/cli v1.22.5/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

0 comments on commit 7a6713b

Please sign in to comment.