This commit is contained in:
asoseil 2018-02-06 15:09:14 +01:00
commit 33ecc2662f
2 changed files with 3 additions and 3 deletions

View File

@ -158,7 +158,7 @@ For more examples check: [Realize Examples](https://github.com/tockins/realize-e
- -w
test:
status: true
method: gb test // support differents build tool
method: gb test // support different build tools
generate:
status: true
install:

View File

@ -364,10 +364,10 @@ func (p *Project) Validate(path string, fcheck bool) bool {
// file check
if fcheck {
fi, err := os.Stat(path)
if !fi.IsDir() && ext(path) == "" {
if err != nil {
return false
}
if err != nil {
if !fi.IsDir() && ext(path) == "" {
return false
}
if fi.Size() > 0 {