Closed suntong closed 1 year ago
Hmm... Having closed it, I think I was still correct as both npm run test
and go test
are normally done after build and run.
Hi,
I don't really understand what problem you are having with the Makefile? There are quite minimalistic instructions there for testing and starting backend and frontend.
Yes, it is shipped "AS IS". But you can change them as you see fit, there are no restrictions here.
If you think something is wrong, you can send a PR showing how you'd like it to be right.
Required check list:
My environment:
uname -a
): Linux 5.15.0-70-generic # 77-Ubuntu SMP x86_64go version
): go version go1.20.3 linux/amd64Describe the bug: A clear and concise description of what the bug is.
The depency rule of the generated
Makefile
is wrong:Expected behavior: A clear and concise description of what you expected to happen.
See for e.g. https://github.com/suntong/go-app-demos/blob/master/0A1-hello/makefile
This means
run
depends onbuild
, whereas the generatedMakefile
meansrun
depends ontest
, which is reversed.