Class: Serverkit::Resources::GoPackage
- Inherits:
-
Base
- Object
- Base
- Serverkit::Resources::GoPackage
- Defined in:
- lib/serverkit/resources/go_package.rb
Instance Method Summary collapse
Instance Method Details
#apply ⇒ Object
Note:
Override
9 10 11 |
# File 'lib/serverkit/resources/go_package.rb', line 9 def apply run_command("go get -u #{path}") end |
#check ⇒ Object
Note:
Override
14 15 16 17 18 19 |
# File 'lib/serverkit/resources/go_package.rb', line 14 def check go_package_path = "#{ENV['GOPATH']}/src/#{path}" check_command( backend.command.get(:check_file_is_directory, go_package_path) ) end |