Sha256: 16ab112c32e6ef0aa3e9960ac097506b9f93bfc5b50e437917378b1ac6b2ff08

Contents?: true

Size: 530 Bytes

Versions: 1

Compression:

Stored size: 530 Bytes

Contents

#!/usr/bin/env ruby

require 'clamp'
require File.join(File.dirname(__FILE__), '..', 'lib', 'slather')

Clamp do

  parameter "xcodeproj", "Path to the xcodeproj", :attribute_name => :xcodeproj_path
  option ["--build-directory", "-b"], "BUILD_DIRECTORY", "The directory where gcno files will be written to. Defaults to derived data."

  def execute
    puts "slathering..."
    project = Slather::Project.open(xcodeproj_path)
    project.build_directory = build_directory
    project.post_to_coveralls
    puts "done!"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slather-0.0.23 bin/slather