Start moving stuff into `/testdata`
This commit is contained in:
parent
ccbc7096ff
commit
8efdd857a0
|
@ -23,15 +23,15 @@ You can override this value by specifying a `PIGEON_PATH` ENV var.
|
||||||
|
|
||||||
|Done?|Noun |Verb | Flag / arg 1 | Flag 2 |
|
|Done?|Noun |Verb | Flag / arg 1 | Flag 2 |
|
||||||
|-----|------------|-----------|---------------|-----------|
|
|-----|------------|-----------|---------------|-----------|
|
||||||
|
| |bundle |ingest | | |
|
||||||
|
| |message |show | message mhash | |
|
||||||
|
| |message |find | --all | |
|
||||||
|
| |message |find | --last | |
|
||||||
| |draft |create | | |
|
| |draft |create | | |
|
||||||
| |draft |publish | | |
|
| |draft |publish | | |
|
||||||
| |draft |show | | |
|
| |draft |show | | |
|
||||||
| |draft |update | --key=? | --value=? |
|
| |draft |update | --key=? | --value=? |
|
||||||
| |message |find | --all | |
|
|
||||||
| |message |find | --last | |
|
|
||||||
| |message |show | message mhash | |
|
|
||||||
| |bundle |create | | |
|
| |bundle |create | | |
|
||||||
| |bundle |ingest | | |
|
|
||||||
| X |blob |find | | |
|
| X |blob |find | | |
|
||||||
| X |blob |add | file path | |
|
| X |blob |add | file path | |
|
||||||
| X |blob |add | STDIO pipe | |
|
| X |blob |add | STDIO pipe | |
|
||||||
|
|
1
build.sh
1
build.sh
|
@ -4,6 +4,5 @@ cd project
|
||||||
go build --o=../pigeon-cli
|
go build --o=../pigeon-cli
|
||||||
env GOOS=windows GOARCH=386 go build --o=../pigeon.exe
|
env GOOS=windows GOARCH=386 go build --o=../pigeon.exe
|
||||||
cd -
|
cd -
|
||||||
PIGEON_PATH="."
|
|
||||||
./pigeon-cli version
|
./pigeon-cli version
|
||||||
./pigeon-cli identity show
|
./pigeon-cli identity show
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd project
|
cd project
|
||||||
go test -coverprofile coverage.out
|
PIGEON_PATH="./testdata" go test -coverprofile coverage.out
|
||||||
go tool cover -html=coverage.out
|
PIGEON_PATH="./testdata" go tool cover -html=coverage.out
|
||||||
cd -
|
cd -
|
||||||
|
|
Loading…
Reference in New Issue