Sha256: c0d536fe0a3cadd22480174224f703c69fab2febefbca0bb43d1857ccb6b24c7

Contents?: true

Size: 498 Bytes

Versions: 3

Compression:

Stored size: 498 Bytes

Contents

# frozen_string_literal: true

require 'thor'

module Xezat
  module Command
    class Generate < Thor
      desc 'pkgconfig cygport', 'Generate *.pc'
      option :overwrite, type: :boolean, aliases: '-o', desc: 'overwrite *.pc'
      option :srcdir, type: :string, aliases: '-s', desc: 'relative path to Makefile.am / CMakeLists.txt'

      def pkgconfig(cygport)
        require 'xezat/generator/pkgconfig'
        Generator::Pkgconfig.new(options, cygport).generate
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xezat-0.3.1 lib/xezat/command/generate.rb
xezat-0.3.0 lib/xezat/command/generate.rb
xezat-0.2.3 lib/xezat/command/generate.rb