Sha256: 92cb88557b2fa42e12c36fb16a46680c2b4ba13b2571338ea816ff7da383ae7d
Contents?: true
Size: 614 Bytes
Versions: 1
Compression:
Stored size: 614 Bytes
Contents
module Docman module Builders class GitDirectBuilder < Builder register_builder :git_direct_builder def execute execute_result = GitUtil.get(@context['repo'], @context['full_build_path'], @context.version_type, @context.version) @context['type'] == 'root' ? @context['build_path'] : execute_result end def changed? stored_version = @context.stored_version['result'] repo_version = GitUtil.get(@context['repo'], @context['full_build_path'], @context.version_type, @context.version) stored_version != repo_version end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
docman-0.0.6 | lib/docman/builders/git_direct_builder.rb |