diff options
| author | Eugen Wissner <belka@caraus.de> | 2023-11-03 18:09:36 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2023-11-03 18:09:36 +0100 |
| commit | 0023fe033731180afe8bc2242c2a512b31b8c0bf (patch) | |
| tree | 74644e69836f08164c13722b70eb08ea047cad63 /lib/download.rb | |
| parent | 24e62c343946e0413648f14a1d17fb2007b91a86 (diff) | |
| download | slackbuilder-0023fe033731180afe8bc2242c2a512b31b8c0bf.tar.gz | |
Remove unused tasks
Diffstat (limited to 'lib/download.rb')
| -rw-r--r-- | lib/download.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/download.rb b/lib/download.rb index 80ff30b..17b119b 100644 --- a/lib/download.rb +++ b/lib/download.rb @@ -37,21 +37,4 @@ module SlackBuilder private_class_method def self.upload_command(local_path, remote_path) ['scp', "slackbuilds/#{local_path}", CONFIG[:remote_path] + remote_path] end - - private_class_method def self.clone_and_archive(repo, name_version, tarball, tag_prefix = 'v') - sh './bin/slackbuilder', 'archive', repo, name_version, tarball, tag_prefix - end -end - -def write_info(package, downloads:) - File.write "slackbuilds/#{package.path}/#{package.name}.info", - info_template(package, downloads) -end - -def update_slackbuild_version(package_path, version) - sh './bin/slackbuilder', 'slackbuild', package_path, version -end - -def commit(package_path, version) - sh './bin/slackbuilder', 'commit', package_path, version end |
