gem install digipolitan-framework-swift-template-cli
And then execute the follow command
dg-fst --init
Check all available options here
First download the zip file and install bundler
[sudo] gem install bundler
bundle install
Then execute the install.rb and follow the instructions
bundle exec ruby install.rb
- Xcode setup and ready to deploy Swift Framework
- Travis : Travis CI is configure into .travis.yml and ready to execute Digipolitan CI lanes
- Fastlane : The Fastfile is configure to download Digipolitan CI lanes
- Swift Package Manager : The Package.swift created without dependencies
- CocoaPods : The Podfile and the Podspec are created without dependencies
- SwifLint : The .swiftlint.yml is created and a run script is added to Xcode Build Phases to run for each build
- RubyGems : The Gemfile contains ruby dependencies such as Fastlane, run
bundle install
to install these dependencies into your machine - Homebrew : The Brewfile contains non-ruby dependencies such as git-flow, run
brew bundle
to install these dependencies into your machine
First install deployment dependencies
bundle install && brew bundle
Run the following lane to start a new release version on git :
fastlane start_framework_release
This lane is a part of Digipolitan lanes
Check if everything is OK, after that publish the new release version on git
fastlane publish_framework_release
This lane is a part of Digipolitan lanes
After that 2 options are available :
- If you keep Travis CI : Travis will run tests and will deploy CocoaPods and GitHub release
- Otherwise you must run lanes yourself
framework_deploy_cocoapods
andframework_deploy_github
part of Digipolitan lanes
See CONTRIBUTING.md for more details!
This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to contact@digipolitan.com.
DGFrameworkTemplate is licensed under the BSD 3-Clause license.