Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnorm gen error: echo doesn't work on windows #71

Open
xserve98 opened this issue Oct 30, 2017 · 2 comments
Open

gnorm gen error: echo doesn't work on windows #71

xserve98 opened this issue Oct 30, 2017 · 2 comments
Labels

Comments

@xserve98
Copy link

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
Copy link
Author

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

@natefinch
Copy link
Member

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 natefinch reopened this Oct 30, 2017
@natefinch natefinch changed the title gnorm gen error gnorm gen error: echo doesn't work on windows Oct 30, 2017
@natefinch natefinch added the bug label Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants