realize config rewritten
This commit is contained in:
parent
49816f2575
commit
60507d9794
60
README.md
60
README.md
@ -136,43 +136,41 @@ A Go build system with file watchers, output streams and live reload. Run, build
|
|||||||
- For more examples check [Realize Examples](https://github.com/tockins/realize-examples)
|
- For more examples check [Realize Examples](https://github.com/tockins/realize-examples)
|
||||||
|
|
||||||
```
|
```
|
||||||
settings:
|
flimit: 15000 // Alters the default maximum number of open files
|
||||||
resources:
|
|
||||||
output: outputs.log // name of the output file
|
|
||||||
log: logs.log // name of the log file (errors included)
|
|
||||||
server:
|
server:
|
||||||
enable: true // enables the web server
|
status: true // Disable/Enable the server
|
||||||
open: false // opens the web server in a new tab
|
host: localhost // Defines the server address
|
||||||
host: localhost // web server host
|
port: 5001 // Defines the server port
|
||||||
port: 5000 // wev server port
|
open: true // Opens the server in a new browser tab
|
||||||
config:
|
resources:
|
||||||
flimit: 0 // increases the maximum number of open files - supported only on linux or os x, sudo required
|
logs: logs.log // Save the logs on the defined file, disabled if removed
|
||||||
|
outputs: outputs.log // Save the outputs on the defined file, disabled if removed
|
||||||
|
errors: errors.log // Save the errors on the defined file, disabled if removed
|
||||||
projects:
|
projects:
|
||||||
- name: printer // project name
|
- name: realize // Project name
|
||||||
path: / // project path
|
path: . // Project path
|
||||||
run: true // enables go run (require bin)
|
fmt: true // Disable/Enable go ftm
|
||||||
bin: true // enables go install
|
test: false // Disable/Enable go test
|
||||||
generate: false // enables go generate
|
generate: false // Disable/Enable go generate
|
||||||
build: false // enables go build
|
bin: true // Disable/Enable go install
|
||||||
fmt: true // enables go fmt
|
build: false // Disable/Enable go build
|
||||||
test: false // enables go test
|
run: false // Disable/Enable go run
|
||||||
params: [] // array of additionals params. the project will be launched with these parameters
|
streams: true // Enable/Disable the output streams in cli
|
||||||
|
params: [] // Run the project with defined additional params
|
||||||
watcher:
|
watcher:
|
||||||
before: [] // custom commands launched before the execution of the project
|
preview: false // Enable/Disable the preview of the watched files
|
||||||
after: [] // custom commands launched after the execution of the project
|
paths: // Paths to watch, sub-paths included
|
||||||
paths: // paths to observe for live reload
|
|
||||||
- /
|
- /
|
||||||
ignore_paths: // paths to ignore
|
ignore_paths: // Paths ignored
|
||||||
- vendor
|
- vendor
|
||||||
exts: // file extensions to observe for live reload
|
exts: // File extensions to watch
|
||||||
- .go
|
- .go
|
||||||
preview: true // prints the observed files on startup
|
commands: // Additional commands to run after and before
|
||||||
cli:
|
- before: go install // Defines if after or before
|
||||||
streams: true // prints the output streams of the project in the cli
|
- before: golint
|
||||||
file:
|
watched: true // Run the command with all watched paths
|
||||||
streams: false // saves the output stream of the project in a file
|
foreach: true // Run the command at each reload
|
||||||
logs: false // saves the logs of the project in a file
|
- after: cd server && gobindata
|
||||||
errors: false // saves the errors of the project in a file
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Next features, in progress...
|
#### Next features, in progress...
|
||||||
|
Loading…
Reference in New Issue
Block a user