Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fastlane-plugin-sapfire

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastlane-plugin-sapfire

  • 1.2.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Sapfire

Gem Gem Gem Gem


An incredibly simple and fast way to automate building and deployment Visual C++, .NET and UWP apps


What is it?

Sapfire is a fastlane plugin that provides a bunch of actions to work with MSBuild, NuGet and Microsoft Store app submission.

MSBuild is a set of open-source build tools created by Microsoft. It is included with Visual Studio, but also can be used independently via command-line interface.

NuGet is a package manager, primarily used for packaging and distributing software written using the .NET.

Microsoft Store is a digital distribution platform for Windows.

Getting started

To get started working with plugin, add it to your project by running:

fastlane add_plugin sapfire

Or, if you want to pick the latest commit from the repository, add this to fastlane/Pluginfile:

gem "fastlane-plugin-sapfire", git: "https://github.com/fastlane/fastlane-plugin-sapfire.git" 

Usage

Platform support note

First of all it's important to denote that some of actions or their parameters (such as msbuild for UWP) are working on Windows only. Currently fastlane is not officially supported on this platform. Despite this fact it's still possible to run it.

Actions or parameters with such restriction contain the corresponding mark in documentation.

If you want to use them, be sure that the platform name of the build lanes is windows:

platform :windows do
  # your lanes
end

Help

Once installed, the information for an action can be printed out with this command:

fastlane action msbuild # or any action included with this plugin

Actions

Here is the list of all available actions. Read the documentation on each one by clicking on the action name.

🔨 Building
ArgumentDescriptionSupported platforms
msbuild_selectChanges the MSBuild executable to useall
msbuildWraps all parameters and executes MSBuildall
build_uwp_appAlias for the msbuild action with additional parameters for UWPwindows
dotnet_selectChanges the dotnet executable to useall
ensure_dotnet_versionEnsures the right version of .NET is installed and can be usedall
associate_ms_storeMakes a local app manifest needed for Microsoft Store associationwindows
nuget_packExecutes MSBuild to create a NuGet packageall
🔑 Signing
ArgumentDescriptionSupported platforms
update_uwp_signing_settingsConfigures UWP package signing settingswindows
🔧 Testing
ArgumentDescriptionSupported platforms
app_certificationRuns Windows App Certification Kit to ensure your app is safe and efficientwindows
📦 Releasing
ArgumentDescriptionSupported platforms
upload_ms_storeUploads new binary to Microsoft Partner Centerwindows
upload_nugetPushes a package to the server and publishes itall
🔆 Misc
ArgumentDescriptionSupported platforms
ms_credentialsSets Azure AD credentials for further actionswindows

Working with SLN solution

In addition this plugin provides a parser module for Microsoft SLN file format.

To open a solution, run this:

require "fastlane/plugin/sapfire/sln_project/sln_project"

root_block = Module.open("/cygdrive/c/Projects/My_Project.sln")
puts root_block.projects[0] # print name of the first subproject in solution

Run tests for this plugin

To run both the tests, and code style validation, run

rake

To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please open a GitHub issue.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.

License

This project is licensed under the MIT license.

FAQs

Package last updated on 27 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc