From 5c27445dc080a08c87d72e4a93f539a08811216e Mon Sep 17 00:00:00 2001 From: Karan Goel Date: Sat, 2 Apr 2016 12:05:44 -0700 Subject: [PATCH] update readme and tool --- README.md | 3 +-- tool.sh | 12 +----------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 70bc135..60d2c92 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A `.gitignore` magician in your command line. Joe generates `.gitignore` files from the command line for you. -![](http://i.imgur.com/ghmJLUP.gif) +![](http://i.imgur.com/2tAksHG.gif) ## Features @@ -125,7 +125,6 @@ USAGE: $ $tool [-h|--help] COMMAND EXAMPLES: - $ $tool readme Generate README.rst from README.md $ $tool deps Install dependencies for joe $ $tool build Build a binary $ $tool run Build and run the binary diff --git a/tool.sh b/tool.sh index ab31882..1898037 100755 --- a/tool.sh +++ b/tool.sh @@ -9,7 +9,6 @@ function usage { $ $tool [-h|--help] COMMAND EXAMPLES: - $ $tool readme Generate README.rst from README.md $ $tool deps Install dependencies for joe $ $tool build Build a binary $ $tool run Build and run the binary @@ -18,14 +17,7 @@ EOF } -# convert README.md to README.rst -function readme { - pandoc --from=markdown --to=rst --output=README.rst README.md - printf 'README.rst generated\n'; -} - function build { - readme go build -o build/joe joe.go utils.go printf 'joe built\n'; } @@ -43,9 +35,7 @@ fi # show help for no arguments if stdin is a terminal -if [ "$1" == "readme" ]; then - readme -elif [ "$1" == "deps" ]; then +if [ "$1" == "deps" ]; then go get github.com/codegangsta/cli elif [ "$1" == "build" ]; then build