-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clg: prettier city output / formatting / show temperature / adjusted …
…readme / added "integration-test" bash script
- Loading branch information
Claude Gex
committed
Jun 12, 2018
1 parent
8f49add
commit caf96ff
Showing
6 changed files
with
121 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
#!/bin/bash | ||
|
||
function pause() | ||
{ | ||
while true; do | ||
read -p "Continue? y/n: " yn | ||
case $yn in | ||
[Yy]* ) break;; | ||
[Nn]* ) exit;; | ||
* ) echo "Please answer yes or no.";; | ||
esac | ||
done | ||
} | ||
|
||
echo "go run Aareguru.go --help" | ||
go run Aareguru.go --help | ||
|
||
pause | ||
|
||
echo "go run Aareguru.go cities" | ||
go run Aareguru.go cities | ||
|
||
pause | ||
|
||
echo "go run Aareguru.go cities -f" | ||
go run Aareguru.go cities -f | ||
|
||
pause | ||
|
||
echo "go run Aareguru.go" | ||
go run Aareguru.go | ||
|
||
pause | ||
|
||
echo "go run Aareguru.go standard" | ||
go run Aareguru.go standard | ||
|
||
pause | ||
|
||
echo "go run Aareguru.go standard -l" | ||
go run Aareguru.go standard -l | ||
|
||
pause | ||
|
||
echo "go run Aareguru.go standard -f" | ||
go run Aareguru.go standard -f | ||
|
||
pause | ||
|
||
echo "go run Aareguru.go schribmaschine" | ||
go run Aareguru.go schribmaschine | ||
|
||
pause | ||
|
||
echo "go run Aareguru.go standard biel" | ||
go run Aareguru.go standard biel | ||
|
||
pause | ||
|
||
echo "go run Aareguru.go schribmaschine interlaken" | ||
go run Aareguru.go schribmaschine interlaken |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
gofmt -w . | ||
|
||
find . -type d | xargs -L 1 golint | ||
find . -type d | xargs -L 1 ~/go/bin/golint |