# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'distll-app-generator/version'

Gem::Specification.new do |spec|
  spec.name          = "distll-app-generator"
  spec.version       = DistllAppGenerator::VERSION
  spec.authors       = ["Intermark Interactive"]
  spec.email         = ["interactive@intermarkgroup.com"]
  spec.description   = "One codebase. Multiple App Store submission targets with different icons, launch images, info.plist keys, etc."
  spec.summary       = "Better target creation for one iOS codebase."
  spec.homepage      = "https://github.com/intermark/distll-app-generator"
  spec.license       = "MIT"

  spec.files         = `git ls-files`.split($/)
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ["lib"]

  spec.add_dependency 'bundler', '~> 1.3'
  spec.add_dependency 'fileutils'
  spec.add_dependency 'commander', '~> 4.1'
  spec.add_dependency 'dotenv', '~> 0.7'
  spec.add_dependency 'rmagick', '~> 2.13.2'
  spec.add_dependency 'xcodeproj'
  spec.add_dependency 'json'

  spec.add_development_dependency "rake"

  spec.files         = Dir["./**/*"].reject { |file| file =~ /\.\/(bin|log|pkg|script|spec|test|vendor|(.*?)\.gem)/ }
  spec.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  spec.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  spec.require_paths = ["lib"]
end
