Class: TYCiCore::Lib

Inherits:
Object
  • Object
show all
Defined in:
lib/tuya/ci/core/lib/lib.rb

Direct Known Subclasses

LibTuya

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#branchObject

Returns the value of attribute branch.



11
12
13
# File 'lib/tuya/ci/core/lib/lib.rb', line 11

def branch
  @branch
end

#projectObject

Returns the value of attribute project.



12
13
14
# File 'lib/tuya/ci/core/lib/lib.rb', line 12

def project
  @project
end

#repoObject

Returns the value of attribute repo.



10
11
12
# File 'lib/tuya/ci/core/lib/lib.rb', line 10

def repo
  @repo
end

#versionObject

Returns the value of attribute version.



13
14
15
# File 'lib/tuya/ci/core/lib/lib.rb', line 13

def version
  @version
end

Instance Method Details

#create(type, target_path, tag, new_branch, temp) ⇒ Object



19
20
21
# File 'lib/tuya/ci/core/lib/lib.rb', line 19

def create(type, target_path, tag, new_branch, temp)

end

#podspec_projectObject



15
16
17
# File 'lib/tuya/ci/core/lib/lib.rb', line 15

def podspec_project
	"#{@project}.podspec"
end

#source(type) ⇒ Object



23
24
25
26
27
# File 'lib/tuya/ci/core/lib/lib.rb', line 23

def source(type)

	puts "Job: #{@project} version: #{@version} on :#{@branch} repo: #{@repo}".green
	build_source
end