Files
fn-serverless/fn/langs/node.go
Travis Reeder ca18ae88fa Added Lambda Node support as part of the regular functions workflow. (#601)
* Added Lambda Node support as part of the regular functions workflow.

* Fixes for PR comments.
2017-03-22 21:41:27 +01:00

23 lines
402 B
Go

package langs
type NodeLangHelper struct {
BaseHelper
}
func (lh *NodeLangHelper) Entrypoint() string {
return "node func.js"
}
func (lh *NodeLangHelper) HasPreBuild() bool {
return false
}
// PreBuild for Go builds the binary so the final image can be as small as possible
func (lh *NodeLangHelper) PreBuild() error {
return nil
}
func (lh *NodeLangHelper) AfterBuild() error {
return nil
}