1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-26 23:34:47 +01:00

Add a script to run non-test *.go files

This commit is contained in:
Oliver Steele 2017-06-11 14:57:12 -04:00
parent badd3b491c
commit 790aaaba3b
2 changed files with 5 additions and 2 deletions

View File

@ -15,6 +15,6 @@ go get
## Run
```bash
go run *.go --source test build
go run *.go --source test serve
./scripts/gojekyll --source test build
./scripts/gojekyll --source test serve
```

3
scripts/gojekyll Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
go run `find . -name \*.go ! -name \*_test.go` $@