Sha256: 567fc0f73c73ae4e5e1df11eab959ca0a46c75cacd011f2375ee7f0ff8f09eb2

Contents?: true

Size: 397 Bytes

Versions: 18

Compression:

Stored size: 397 Bytes

Contents

#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
#require 'bundler/setup'

require 'cany'
require 'cany/dpkg/creator'
require 'cany/dpkg/builder'

tasks = {
  'dpkg-create' => Cany::Dpkg::Creator,
  'dpkg-builder' => Cany::Dpkg::Builder
}

unless tasks.include? ARGV.first
  puts 'Unknown subaction - choose from ' + tasks.keys.join(', ')
  exit 1
end

tasks[ARGV.shift].new(Cany::setup '.').run *ARGV

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
cany-0.5.7 bin/cany
cany-0.5.6 bin/cany
cany-0.5.5 bin/cany
cany-0.5.4 bin/cany
cany-0.5.3 bin/cany
cany-0.5.2 bin/cany
cany-0.5.1 bin/cany
cany-0.5.0 bin/cany
cany-0.4.0 bin/cany
cany-0.3.0 bin/cany
cany-0.2.1 bin/cany
cany-0.2.0 bin/cany
cany-0.1.3 bin/cany
cany-0.1.2 bin/cany
cany-0.1.1 bin/cany
cany-0.1.0 bin/cany
cany-0.0.2 bin/cany
cany-0.0.1 bin/cany