mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fn: rename from fnctl (#321)
* fn: rename from fnctl * fn: predicting the release version for installer * fn: predicting the release version for installer
This commit is contained in:
21
fn/langs/ruby.go
Normal file
21
fn/langs/ruby.go
Normal file
@@ -0,0 +1,21 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user