Skip to content

Commit

Permalink
Merge branch 'release/0.5.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruxton committed May 29, 2015
2 parents 9b5d75e + 3939a37 commit 60226a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/build
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fi
source $SCRIPTPATH/oauth_client.env

NAME=mixcloud
VERSION=0.5
VERSION=0.5.1
MINVERSION=`date -u +%Y%m%d%.H%M%S`
LDFLAGS="-s -w -X main.MINVERSION ${MINVERSION} -X main.VERSION ${VERSION} -X main.OAUTH_CLIENT_ID ${OAUTH_CLIENT_ID} -X main.OAUTH_CLIENT_SECRET ${OAUTH_CLIENT_SECRET}"
OUTFILE=pkg/${VERSION}/${NAME}
Expand Down
5 changes: 3 additions & 2 deletions mixcloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/ruxton/mixcloud/confirm"
"github.com/ruxton/mixcloud/mixcloud"
"github.com/ruxton/mixcloud/term"
"github.com/mattn/go-colorable"
"io"
flag "launchpad.net/gnuflag"
"mime/multipart"
Expand Down Expand Up @@ -44,8 +45,8 @@ var fileFlag = flag.String("file", "", "The mp3 file to upload to mixcloud")
var coverFlag = flag.String("cover", "", "The image file to upload to mixcloud as the cover")
var trackListFlag = flag.String("tracklist", "", "A file containing a VirtualDJ Tracklist for the cloudcast")

var STD_OUT = bufio.NewWriter(os.Stdout)
var STD_ERR = bufio.NewWriter(os.Stderr)
var STD_OUT = bufio.NewWriter(colorable.NewColorableStdout())
var STD_ERR = bufio.NewWriter(colorable.NewColorableStderr())
var STD_IN = bufio.NewReader(os.Stdin)

type Configuration struct {
Expand Down

0 comments on commit 60226a2

Please sign in to comment.