Skip to content

Commit 5c27445

Browse files
author
Karan Goel
committed
update readme and tool
1 parent e79467f commit 5c27445

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
A `.gitignore` magician in your command line. Joe generates `.gitignore` files from the command line for you.
66

7-
![](http://i.imgur.com/ghmJLUP.gif)
7+
![](http://i.imgur.com/2tAksHG.gif)
88

99
## Features
1010

@@ -125,7 +125,6 @@ USAGE:
125125
$ $tool [-h|--help] COMMAND
126126

127127
EXAMPLES:
128-
$ $tool readme Generate README.rst from README.md
129128
$ $tool deps Install dependencies for joe
130129
$ $tool build Build a binary
131130
$ $tool run Build and run the binary

tool.sh

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ function usage {
99
$ $tool [-h|--help] COMMAND
1010
1111
EXAMPLES:
12-
$ $tool readme Generate README.rst from README.md
1312
$ $tool deps Install dependencies for joe
1413
$ $tool build Build a binary
1514
$ $tool run Build and run the binary
@@ -18,14 +17,7 @@ EOF
1817
}
1918

2019

21-
# convert README.md to README.rst
22-
function readme {
23-
pandoc --from=markdown --to=rst --output=README.rst README.md
24-
printf 'README.rst generated\n';
25-
}
26-
2720
function build {
28-
readme
2921
go build -o build/joe joe.go utils.go
3022
printf 'joe built\n';
3123
}
@@ -43,9 +35,7 @@ fi
4335

4436

4537
# show help for no arguments if stdin is a terminal
46-
if [ "$1" == "readme" ]; then
47-
readme
48-
elif [ "$1" == "deps" ]; then
38+
if [ "$1" == "deps" ]; then
4939
go get github.com/codegangsta/cli
5040
elif [ "$1" == "build" ]; then
5141
build

0 commit comments

Comments
 (0)