Start moving stuff into `/testdata`

This commit is contained in:
Netscape Navigator 2020-10-04 15:19:28 -05:00
parent ccbc7096ff
commit 8efdd857a0
4 changed files with 7 additions and 8 deletions

View File

@ -23,15 +23,15 @@ You can override this value by specifying a `PIGEON_PATH` ENV var.
|Done?|Noun |Verb | Flag / arg 1 | Flag 2 |
|-----|------------|-----------|---------------|-----------|
| |bundle |ingest | | |
| |message |show | message mhash | |
| |message |find | --all | |
| |message |find | --last | |
| |draft |create | | |
| |draft |publish | | |
| |draft |show | | |
| |draft |update | --key=? | --value=? |
| |message |find | --all | |
| |message |find | --last | |
| |message |show | message mhash | |
| |bundle |create | | |
| |bundle |ingest | | |
| X |blob |find | | |
| X |blob |add | file path | |
| X |blob |add | STDIO pipe | |

View File

@ -4,6 +4,5 @@ cd project
go build --o=../pigeon-cli
env GOOS=windows GOARCH=386 go build --o=../pigeon.exe
cd -
PIGEON_PATH="."
./pigeon-cli version
./pigeon-cli identity show

View File

@ -1,5 +1,5 @@
#!/bin/sh
cd project
go test -coverprofile coverage.out
go tool cover -html=coverage.out
PIGEON_PATH="./testdata" go test -coverprofile coverage.out
PIGEON_PATH="./testdata" go tool cover -html=coverage.out
cd -

View File

@ -1,4 +1,4 @@
#!/bin/sh
cd project
go test -v
PIGEON_PATH="./testdata" go test -v
cd -