From 581a7b52fb4f066cddf09e5ef2c3a726ef233b47 Mon Sep 17 00:00:00 2001 From: Iwasaki Yudai Date: Mon, 17 Aug 2015 07:00:38 +0900 Subject: [PATCH] Add wercker.yml and badge to README --- README.md | 2 ++ wercker.yml | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 wercker.yml diff --git a/README.md b/README.md index ff323a8..24bd89f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # GoTTY - Share your terminal as a web application +[![wercker status](https://app.wercker.com/status/03b91f441bebeda34f80e09a9f14126f/s/master "wercker status")](https://app.wercker.com/project/bykey/03b91f441bebeda34f80e09a9f14126f) + GoTTY is a simple command line tool that turns your CLI tools into web applications. ![Screenshot](https://raw.githubusercontent.com/yudai/gotty/master/screenshot.gif) diff --git a/wercker.yml b/wercker.yml new file mode 100644 index 0000000..b63a05b --- /dev/null +++ b/wercker.yml @@ -0,0 +1,23 @@ +box: tcnksm/gox + +build: + steps: + - setup-go-workspace + - script: + name: go get + code: | + go get github.com/tools/godep + godep restore + - tcnksm/gox: + os: "darwin linux" + arch: "amd64" + - yudai/targz: + input: $WERCKER_OUTPUT_DIR/pkg + output: $WERCKER_OUTPUT_DIR/dist + +deploy: + steps: + - tcnksm/ghr: + token: $GITHUB_TOKEN + input: dist + replace: true