gem install digipolitan-framework-swift-template-cliAnd then execute the follow command
dg-fst --initCheck all available options here
First download the zip file and install bundler
[sudo] gem install bundler
bundle installThen 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 installto install these dependencies into your machine - Homebrew : The Brewfile contains non-ruby dependencies such as git-flow, run
brew bundleto install these dependencies into your machine
First install deployment dependencies
bundle install && brew bundleRun the following lane to start a new release version on git :
fastlane start_framework_releaseThis lane is a part of Digipolitan lanes
Check if everything is OK, after that publish the new release version on git
fastlane publish_framework_releaseThis 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_cocoapodsandframework_deploy_githubpart 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.