File: inline_package

package info (click to toggle)
libinline-ruby 3.6.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 156 kB
  • ctags: 130
  • sloc: ruby: 1,197; makefile: 3
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