aboutsummaryrefslogtreecommitdiff
path: root/lib/download.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/download.rb')
-rw-r--r--lib/download.rb17
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