Merge branch 'master' of https://github.com/tockins/realize
This commit is contained in:
commit
33ecc2662f
|
@ -158,7 +158,7 @@ For more examples check: [Realize Examples](https://github.com/tockins/realize-e
|
||||||
- -w
|
- -w
|
||||||
test:
|
test:
|
||||||
status: true
|
status: true
|
||||||
method: gb test // support differents build tool
|
method: gb test // support different build tools
|
||||||
generate:
|
generate:
|
||||||
status: true
|
status: true
|
||||||
install:
|
install:
|
||||||
|
|
|
@ -364,10 +364,10 @@ func (p *Project) Validate(path string, fcheck bool) bool {
|
||||||
// file check
|
// file check
|
||||||
if fcheck {
|
if fcheck {
|
||||||
fi, err := os.Stat(path)
|
fi, err := os.Stat(path)
|
||||||
if !fi.IsDir() && ext(path) == "" {
|
if err != nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if err != nil {
|
if !fi.IsDir() && ext(path) == "" {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if fi.Size() > 0 {
|
if fi.Size() > 0 {
|
||||||
|
|
Loading…
Reference in New Issue