-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(create-module): use stencil-golang to create modules #146
feat(create-module): use stencil-golang to create modules #146
Conversation
Adds support for generating modules with a `manifest.yaml` as well as populating `service.yaml` using `rgst-io/stencil-golang` in library mode, unless specified to create a native extension. stencil-golang in library mode has full CI, and is used mainly only for releasing. Eventually, the release logic will be moved out and turned into some framework (or use some other one) since it is a bit awkward to depend on that for non-Go repositories.
Deploying stencil with Cloudflare Pages
|
cmd/stencil/create_module.go
Outdated
|
||
// ensure we have a name | ||
if c.NArg() != 1 { | ||
return errors.New("must provide a name for the module") | ||
} | ||
|
||
moduleName := c.Args().Get(0) | ||
hasPlugin := false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NTS: Hook this up to the type
flag.
pkg/configuration/type.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed type from cvs to a string slice since cvs never really made much sense and screws with the JSON schema
.vscode/settings.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not used any more since we got rid of gobox
awhile back.
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
PR is in draft state because I'm on a plane with a pretty bad headache and this is the most I could manage before landing 🚀 |
Adds support for generating modules with a
manifest.yaml
as well aspopulating
service.yaml
usingrgst-io/stencil-golang
in librarymode, unless specified to create a native extension.
stencil-golang in library mode has full CI, and is used mainly only for
releasing. Eventually, the release logic will be moved out and turned
into some framework (or use some other one) since it is a bit awkward to
depend on that for non-Go repositories.