gnorm icon indicating copy to clipboard operation
gnorm copied to clipboard

gnorm gen error: echo doesn't work on windows

Open xserve98 opened this issue 8 years ago • 2 comments

Error: generating file for schema public: error running postrun command ["echo" "..\models\public.go"]: exec: "echo": executable file not found in %PATH%

gnorm.toml

PostRun = ["echo", "$GNORMFILE"]

windows 10 install

go get gnorm.org/gnorm

cd  gopath/src/gnorm.org/gnorm
go get github.com/magefile/mage
mage build

xserve98 avatar Oct 30 '17 04:10 xserve98

PostRun = ["goimports", "-w", "$GNORMFILE"]

xserve98 avatar Oct 30 '17 04:10 xserve98

weird, I thought echo worked on windows.... maybe it's just a command prompt alias or something? thanks for pointing this out, I'll try to fix this.

natefinch avatar Oct 30 '17 13:10 natefinch