Skip to content

kikuchy/lodger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lodger

Lodger

Re-target your swift sourcefiles from Application target to Testtarget in your Xcode project.

Added testing source files to main application target wrongly? Lodger removes source files for testing (ex. FooTests.swift, BarMock.swift, BazStub.swift, etc) from main application target and add that files to main application target.

Installation

Add this line to your application's Gemfile:

gem 'lodger'

And then execute:

$ bundle

Or install it yourself as:

$ gem install lodger

Usage

$ lodger \
        <xcodeproj_path> \
        <production_target_name> \
        <test_target_name>

for example,

$ lodger path/to/MyProject/MyProject.xcodeproj MyProject MyProjectTests

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/kikuchy/lodger. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Logo image's Pictgram-man (Picto-san) -> http://pictogram2.com/

About

Retargeting test source files from production to test at Swift Xcode project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages