class Shanty::StaticProject
Public: Base type of project, simply creates a tarball of the directory
Public Instance Methods
artifact_path()
click to toggle source
Public: The absolute path to the artifact that would be created by this project when built.
Returns a String representing the absolute path to the artifact.
# File lib/shanty/projects/static.rb, line 17 def artifact_path "#{@root_dir}/build/#{@options['artifact_name'] || name}-#{@build_number}.tgz" end
on_build()
click to toggle source
# File lib/shanty/projects/static.rb, line 8 def on_build # FIXME: Create a tarball of the current project. true end