mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
22 lines
390 B
Go
22 lines
390 B
Go
package langs
|
|
|
|
type RubyLangHelper struct {
|
|
}
|
|
|
|
func (lh *RubyLangHelper) Entrypoint() string {
|
|
return "ruby func.rb"
|
|
}
|
|
|
|
func (lh *RubyLangHelper) HasPreBuild() bool {
|
|
return false
|
|
}
|
|
|
|
// PreBuild for Go builds the binary so the final image can be as small as possible
|
|
func (lh *RubyLangHelper) PreBuild() error {
|
|
return nil
|
|
}
|
|
|
|
func (lh *RubyLangHelper) AfterBuild() error {
|
|
return nil
|
|
}
|