output support doc

This commit is contained in:
alessio 2016-08-31 14:14:09 +02:00
parent 38bd1f8ba5
commit 613cb8e590
2 changed files with 7 additions and 17 deletions

View File

@ -138,7 +138,6 @@ 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)
``` ```
version: "1.0"
projects: projects:
- app_name: App One -> name - app_name: App One -> name
app_path: one -> root path app_path: one -> root path
@ -159,19 +158,10 @@ A Go build system with file watchers, output streams and live reload. Run, build
- bin - bin
exts: -> file extensions to observe for live reload exts: -> file extensions to observe for live reload
- .go - .go
- app_name: App Two -> another project output: -> enable/disable the output destinations
app_path: two cli: true -> cli output
app_run: true file: true -> creates an output file inside the project
app_build: true
app_bin: true
app_watcher:
paths:
- /
ignore_paths:
- vendor
- bin
exts:
- .go
``` ```
#### Next release #### Next release
@ -179,7 +169,7 @@ A Go build system with file watchers, output streams and live reload. Run, build
##### Milestone 1.1 ##### Milestone 1.1
- [ ] Testing on windows - [ ] Testing on windows
- [x] Custom paths for the commands fast/add - [x] Custom paths for the commands fast/add
- [ ] Save output on a file - [x] Save output on a file
- [ ] Enable the fields Before/After - [ ] Enable the fields Before/After
- [ ] Web panel - **Maybe** - [ ] Web panel - **Maybe**

View File

@ -16,14 +16,14 @@ import (
// App struct contains the informations about realize // App struct contains the informations about realize
type Realize struct { type Realize struct {
Name, Description, Author, Email string Name, Description, Author, Email string
Version string `yaml:"version,omitempty"` Version string
Limit uint64 Limit uint64
Blueprint Blueprint Blueprint Blueprint
} }
// Projects struct contains a projects list // Projects struct contains a projects list
type Blueprint struct { type Blueprint struct {
Projects []Project `yaml:"projects,omitempty"` Projects []Project `yaml:"Projects,omitempty"`
files map[string]string files map[string]string
} }