Skip compiling certain go sample files

20 views
Skip to first unread message

Sathish VJ

unread,
Oct 28, 2016, 2:47:02 AM10/28/16
to google-appengine-go
I have an appengine project that contains some sample golang code.  These are files used to demonstrate coding in golang and they are not an actual part of the project.

However, the goapp deploy builds them and fails.  For example, with this error: "Compile failed: 2016/10/27 23:40:23 go-app-builder: Failed parsing input: package main must be the top-level package"

Is there a setting to include the files in the deployment as static files, but to not build them?


Sathish VJ

unread,
Oct 28, 2016, 2:49:40 AM10/28/16
to google-appengine-go
Ok, looks like there are a couple of answers in https://groups.google.com/forum/#!topic/google-appengine-go/zL4uLQfVS7c that I need to look at first.
Reply all
Reply to author
Forward
0 new messages