mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* fn: rename from fnctl * fn: predicting the release version for installer * fn: predicting the release version for installer
22 lines
390 B
Go
22 lines
390 B
Go
package langs
|
|
|
|
type NodeLangHelper struct {
|
|
}
|
|
|
|
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
|
|
}
|