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:
parent
badd3b491c
commit
790aaaba3b
@ -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
3
scripts/gojekyll
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
go run `find . -name \*.go ! -name \*_test.go` $@
|
Loading…
Reference in New Issue
Block a user