Skip to content

Commit

Permalink
update generated project files
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
  • Loading branch information
jessfraz committed Jul 15, 2018
1 parent 10707e2 commit 057f9ec
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 38 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ Icon
weather
cross/

server/weather-server

# Go coverage results
coverage.txt
profile.out
11 changes: 11 additions & 0 deletions .goosarch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
darwin/amd64
darwin/386
freebsd/amd64
freebsd/386
linux/arm
linux/arm64
linux/amd64
linux/386
solaris/amd64
windows/amd64
windows/386
42 changes: 21 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,39 +18,39 @@ jobs:
deploy:
provider: releases
file:
- cross/weather-linux-amd64.md5
- cross/weather-windows-386.sha256
- cross/weather-linux-arm
- cross/weather-darwin-amd64.md5
- cross/weather-darwin-amd64
- cross/weather-solaris-amd64.md5
- cross/weather-linux-arm64.sha256
- cross/weather-linux-arm.sha256
- cross/weather-linux-386.sha256
- cross/weather-darwin-amd64.md5
- cross/weather-darwin-amd64.sha256
- cross/weather-darwin-386
- cross/weather-darwin-386.md5
- cross/weather-windows-386.md5
- cross/weather-darwin-386.sha256
- cross/weather-freebsd-amd64
- cross/weather-freebsd-amd64.md5
- cross/weather-linux-arm64.md5
- cross/weather-linux-arm64
- cross/weather-freebsd-amd64.sha256
- cross/weather-freebsd-386
- cross/weather-freebsd-386.md5
- cross/weather-freebsd-386.sha256
- cross/weather-linux-arm
- cross/weather-linux-arm.md5
- cross/weather-linux-arm.sha256
- cross/weather-linux-arm64
- cross/weather-linux-arm64.md5
- cross/weather-linux-arm64.sha256
- cross/weather-linux-amd64
- cross/weather-linux-amd64.md5
- cross/weather-linux-amd64.sha256
- cross/weather-linux-386
- cross/weather-linux-386.md5
- cross/weather-freebsd-386
- cross/weather-linux-386.sha256
- cross/weather-solaris-amd64
- cross/weather-solaris-amd64.md5
- cross/weather-solaris-amd64.sha256
- cross/weather-windows-amd64
- cross/weather-windows-amd64.md5
- cross/weather-windows-amd64.sha256
- cross/weather-linux-arm.md5
- cross/weather-darwin-386.sha256
- cross/weather-darwin-amd64.sha256
- cross/weather-windows-386
- cross/weather-solaris-amd64
- cross/weather-darwin-386
- cross/weather-linux-386
- cross/weather-freebsd-amd64
- cross/weather-freebsd-386.sha256
- cross/weather-linux-amd64
- cross/weather-windows-386.md5
- cross/weather-windows-386.sha256
skip_cleanup: true
on:
tags: true
Expand Down
1 change: 1 addition & 0 deletions .traviskey
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
C78vOwW6YqKqSRYr+z2Rus2UsWaq57ntFKuORFo8UKw4eK5Nfbr4ysx5n47j0nyGE6SFGEGzlSQZtoHHQFzv6KTkK8PIkrewYLK8ESeEr09EjTgUjeU0olDHioMiI5z3xrb1rbLEVfOY/axyqRovKgqlTIRf8eRm0jdlNaFJ9v8bgxNMylKG24sezNhO+ORon66lYXrsZ10bd9mPyC4zYr5pV1OQjbxV1VB0ym3abRVSvlOtTUkG98ILLuO6FpHPbVYJcnnrDoTWvt2JxPkIECM2WShOlsiQdncO33CbOca6z6B6VYUAzPo1uzzsGn71MqeQV/wnqIZNj31F1wdSu72LxdjUfJSrKFnKckJGdxiS56OhFmC6v5YZeylruucUGM5dwpoKtH6SiR9QpoGWEkhrhTHyGa2QAoQovk1XRw0WQ7GrzpYK1LPOstuL37dPQLhENZ0O9yd0Tsm3YBzFSDP9J5lCyRuZv4ENDutxWs/oiGTNRp47PHYdANH7USG83UOpwSImZGQWBzWdSwfsWeGV4E0T0LLNSwVi5HeBSdTa+YAd62/PHaB5u+hDmcKEUodjWwMwUylO1m4wjqCinegC/RGkSLH2h3j8kUlWOSnyTrKhczyEaISixQsYBf1qwIj9nRf3XMHzXyxuBlqmNeHb9OZjD8lw8mLEmtlbBeI=
4 changes: 2 additions & 2 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
# name = "github.com/x/y"
# version = "2.4.0"


[prune]
non-go = true
go-tests = true
unused-packages = true

[[override]]
Expand All @@ -30,4 +30,4 @@

[[constraint]]
name = "github.com/mitchellh/colorstring"
branch = "master"
branch = "master"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ GO_LDFLAGS_STATIC=-ldflags "-w $(CTIMEVAR) -extldflags -static"
GO := go

# List the GOOS and GOARCH to build
GOOSARCHES = darwin/amd64 darwin/386 freebsd/amd64 freebsd/386 linux/arm linux/arm64 linux/amd64 linux/386 solaris/amd64 windows/amd64 windows/386
GOOSARCHES = $(shell cat .goosarch)

.PHONY: build
build: $(NAME) ## Builds a dynamic executable or package
Expand Down
34 changes: 22 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
# weather

[![Travis CI](https://travis-ci.org/genuinetools/weather.svg?branch=master)](https://travis-ci.org/genuinetools/weather)
[![Travis CI](https://img.shields.io/travis/genuinetools/weather.svg?style=for-the-badge)](https://travis-ci.org/genuinetools/weather)
[![GoDoc](https://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge)](https://godoc.org/github.com/genuinetools/weather)
[![Github All Releases](https://img.shields.io/github/downloads/genuinetools/weather/total.svg?style=for-the-badge)](https://github.com/genuinetools/weather/releases)

Weather via the command line. Uses the [darksky.net](https://darksky.net) API so it's super accurate. Also includes any current weather alerts in the output.

![Screenshot](screenshot.png)

* [Installation](README.md#installation)
* [Binaries](README.md#binaries)
* [Via Go](README.md#via-go)
* [Via Homebrew](README.md#via-homebrew)
* [Usage](README.md#usage)
* [Examples](README.md#examples)
* [Makefile Usage](README.md#makefile-usage)

## Installation

#### Binaries

- **darwin** [386](https://github.com/genuinetools/weather/releases/download/v0.15.4/weather-darwin-386) / [amd64](https://github.com/genuinetools/weather/releases/download/v0.15.4/weather-darwin-amd64)
- **freebsd** [386](https://github.com/genuinetools/weather/releases/download/v0.15.4/weather-freebsd-386) / [amd64](https://github.com/genuinetools/weather/releases/download/v0.15.4/weather-freebsd-amd64)
- **linux** [386](https://github.com/genuinetools/weather/releases/download/v0.15.4/weather-linux-386) / [amd64](https://github.com/genuinetools/weather/releases/download/v0.15.4/weather-linux-amd64) / [arm](https://github.com/genuinetools/weather/releases/download/v0.15.4/weather-linux-arm) / [arm64](https://github.com/genuinetools/weather/releases/download/v0.15.4/weather-linux-arm64)
- **solaris** [amd64](https://github.com/genuinetools/weather/releases/download/v0.15.4/weather-solaris-amd64)
- **windows** [386](https://github.com/genuinetools/weather/releases/download/v0.15.4/weather-windows-386) / [amd64](https://github.com/genuinetools/weather/releases/download/v0.15.4/weather-windows-amd64)
For installation instructions from binaries please visit the [Releases Page](https://github.com/genuinetools/weather/releases).

#### Via Go

```bash
```console
$ go get github.com/genuinetools/weather
```

#### Via Homebrew

```bash
```console
$ brew install darksky-weather
```

Expand Down Expand Up @@ -155,14 +161,18 @@ $ weather -l "Manhattan Beach, CA"

```console
$ make help
all Runs a clean, build, fmt, lint, test, vet and install
all Runs a clean, build, fmt, lint, test, staticcheck, vet and install
build Builds a dynamic executable or package
bump-version Bump the version in the version file. Set BUMP to [ patch | major | minor ]
clean Cleanup any build binaries or packages
cross Builds the cross compiled binaries, creating a clean directory structure (eg. GOOS/GOARCH/binary)
fmt Verifies all files have men `gofmt`ed
cover Runs go test with coverage
cross Builds the cross-compiled binaries, creating a clean directory structure (eg. GOOS/GOARCH/binary)
fmt Verifies all files have been `gofmt`ed
install Installs the executable or package
lint Verifies `golint` passes
release Builds the cross compiled binaries, naming them in such a way for release (eg. binary-GOOS-GOARCH)
release Builds the cross-compiled binaries, naming them in such a way for release (eg. binary-GOOS-GOARCH)
static Builds a static executable
staticcheck Verifies `staticcheck` passes
tag Create a new git tag to prepare to build a release
test Runs the go tests
vet Verifies `go vet` passes
Expand Down

0 comments on commit 057f9ec

Please sign in to comment.