Browse Source

Start moving stuff into `/testdata`

main
Netscape Navigator 2 years ago
parent
commit
8efdd857a0
  1. 8
      README.md
  2. 1
      build.sh
  3. 4
      coverage.sh
  4. 2
      tests.sh

8
README.md

@ -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 | |

1
build.sh

@ -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

4
coverage.sh

@ -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 -

2
tests.sh

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

Loading…
Cancel
Save