Skip to content

Commit

Permalink
vendor windows deps
Browse files Browse the repository at this point in the history
  • Loading branch information
aybabtme committed Apr 16, 2017
1 parent 8a76136 commit 98a6184
Show file tree
Hide file tree
Showing 329 changed files with 122,376 additions and 280 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.ignore
dist
12 changes: 10 additions & 2 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion goreleaser.yml → goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
build:
main: ./cmd/humanlog/main.go
binary: humanlod
binary: humanlog
ldflags_template: -s -w -X main.build={{.Version}}
goos:
- windows
Expand Down
Binary file removed release/0.1.2/humanlog_darwin_amd64.tar.gz
Binary file not shown.
Binary file removed release/0.1.2/humanlog_linux_amd64.tar.gz
Binary file not shown.
Binary file removed release/0.1.3/humanlog_darwin_amd64.tar.gz
Binary file not shown.
Binary file removed release/0.1.3/humanlog_linux_amd64.tar.gz
Binary file not shown.
Binary file removed release/0.1.4/humanlog_darwin_amd64.tar.gz
Binary file not shown.
Binary file removed release/0.1.4/humanlog_linux_amd64.tar.gz
Binary file not shown.
Binary file removed release/0.1.5/humanlog_darwin_amd64.tar.gz
Binary file not shown.
Binary file removed release/0.1.5/humanlog_linux_amd64.tar.gz
Binary file not shown.
Binary file removed release/0.1.6/humanlog_darwin_amd64.tar.gz
Binary file not shown.
Binary file removed release/0.1.6/humanlog_linux_amd64.tar.gz
Binary file not shown.
Binary file removed release/0.1.7/humanlog_darwin_amd64.tar.gz
Binary file not shown.
Binary file removed release/0.1.7/humanlog_linux_amd64.tar.gz
Binary file not shown.
47 changes: 16 additions & 31 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -1,48 +1,33 @@
#!/usr/bin/env bash

basedir=$(git rev-parse --show-toplevel)

usage() {
echo "USAGE: ./release.sh [version] [msg...]"
echo "USAGE: release.sh [version] [msg...]"
exit 1
}

REVISION=$(git rev-parse HEAD)
GIT_TAG=$(git name-rev --tags --name-only $REVISION)
if [ "$GIT_TAG" = "" ]; then
GIT_TAG="devel"
fi


VERSION=$1
if [ "$VERSION" = "" ]; then
echo "Need to specify a version! Perhaps '$GIT_TAG'?"
echo "Need to specify a version!"
usage
fi

set -u -e

rm -rf /tmp/humanlog_build/

mkdir -p /tmp/humanlog_build/linux
GOOS=linux go build -ldflags "-X main.version=$VERSION" -o /tmp/humanlog_build/linux/humanlog ../cmd/humanlog
pushd /tmp/humanlog_build/linux/
tar cvzf /tmp/humanlog_build/humanlog_linux.tar.gz humanlog
popd

mkdir -p /tmp/humanlog_build/darwin
GOOS=darwin go build -ldflags "-X main.version=$VERSION" -o /tmp/humanlog_build/darwin/humanlog ../cmd/humanlog
pushd /tmp/humanlog_build/darwin/
tar cvzf /tmp/humanlog_build/humanlog_darwin.tar.gz humanlog
popd
shift
MSG=$@
if [ "$MSG" = "" ]; then
echo "Need to specify a message!"
usage
fi

temple file < README.tmpl.md > ../README.md -var "version=$VERSION"
set -e -u -x

temple file < $basedir/scripts/README.tmpl.md > $basedir/README.md -var "version=$VERSION"

git add ../README.md
git commit -m 'release bump'
git add $basedir/README.md
git commit -m "$MSG"
git tag -a $VERSION -m "$MSG"

hub release create \
-a /tmp/humanlog_build/humanlog_linux.tar.gz \
-a /tmp/humanlog_build/humanlog_darwin.tar.gz \
$VERSION
goreleaser --config $basedir/goreleaser.yaml

git push origin master
9 changes: 9 additions & 0 deletions vendor/github.com/mattn/go-colorable/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions vendor/github.com/mattn/go-colorable/_example/escape-seq/main.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions vendor/github.com/mattn/go-colorable/_example/logrus/main.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions vendor/github.com/mattn/go-colorable/_example/title/main.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions vendor/github.com/mattn/go-isatty/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions vendor/github.com/mattn/go-isatty/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions vendor/github.com/mattn/go-isatty/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions vendor/github.com/mattn/go-isatty/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions vendor/github.com/mattn/go-isatty/example_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions vendor/github.com/mattn/go-isatty/isatty_appengine.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions vendor/github.com/mattn/go-isatty/isatty_bsd.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions vendor/github.com/mattn/go-isatty/isatty_linux.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions vendor/github.com/mattn/go-isatty/isatty_others.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions vendor/github.com/mattn/go-isatty/isatty_others_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions vendor/github.com/mattn/go-isatty/isatty_solaris.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 98a6184

Please sign in to comment.