Skip to content

Commit

Permalink
wifiadb binary
Browse files Browse the repository at this point in the history
  • Loading branch information
avenwu committed Jan 18, 2018
1 parent 46133db commit 563446d
Show file tree
Hide file tree
Showing 8 changed files with 75 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Formula/wifiadb.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
class Wifiadb < Formula
desc "Simple scripts that help to ease handy work daily, most of these cli tools was written in Golang"
homepage "http://hacktons.cn/homebrew-cli"
url "https://github.com/hacktons/homebrew-cli/releases/download/v0.0.2/wifiadb_0.0.1_macOS_64-bit.tar.gz"
sha256 "74ed76cacde956d205fef8901a171559c284efdba718ae437584d313ef1330f3"

version "0.0.1"

def install
bin.install "wifiadb"
end
end
60 changes: 60 additions & 0 deletions wifiadb/dist/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
project_name: wifiadb
release:
github:
owner: hacktons
name: homebrew-cli
name_template: '{{.Tag}}'
brew:
commit_author:
name: goreleaserbot
email: [email protected]
install: bin.install "wifiadb"
builds:
- goos:
- windows
- darwin
- linux
goarch:
- amd64
goarm:
- "6"
main: main.go
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
binary: wifiadb
archive:
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
replacements:
amd64: 64-bit
darwin: macOS
format: tar.gz
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*
fpm:
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
bindir: /usr/local/bin
snapcraft:
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
dist: dist
sign:
cmd: gpg
args:
- --output
- $signature
- --detach-sig
- $artifact
signature: ${artifact}.sig
artifacts: none
Binary file added wifiadb/dist/darwinamd64/wifiadb
Binary file not shown.
Binary file added wifiadb/dist/linuxamd64/wifiadb
Binary file not shown.
3 changes: 3 additions & 0 deletions wifiadb/dist/wifiadb_0.0.1_checksums.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
f10ee1772196ac0ba087e7403aa08a9217a7c2f3fdfc37abc29f876e71069b8f wifiadb_0.0.1_linux_64-bit.tar.gz
bbdaac7b87fc3d7b8921c8ba59233e87a18134b1dae69df9109c6bf794b2ede4 wifiadb_0.0.1_windows_64-bit.tar.gz
74ed76cacde956d205fef8901a171559c284efdba718ae437584d313ef1330f3 wifiadb_0.0.1_macOS_64-bit.tar.gz
Binary file added wifiadb/dist/wifiadb_0.0.1_linux_64-bit.tar.gz
Binary file not shown.
Binary file added wifiadb/dist/wifiadb_0.0.1_macOS_64-bit.tar.gz
Binary file not shown.
Binary file added wifiadb/dist/wifiadb_0.0.1_windows_64-bit.tar.gz
Binary file not shown.

0 comments on commit 563446d

Please sign in to comment.