File: inline_package

package info (click to toggle)
libinline-ruby 3.6.7-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 152 kB
  • ctags: 134
  • sloc: ruby: 1,266; makefile: 2
file content (15 lines) | stat: -rwxr-xr-x 290 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/local/bin/ruby -w

require 'inline'

name = ARGV.shift
version = ARGV.shift
summary = ARGV.shift || ""

if version.nil? then # TODO better usage
  STDERR.puts "Usage: #{$0} NAME VERSION [SUMMARY]"
  exit 1
end

packager = Inline::Packager.new name, version, summary
packager.package