diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 884ed16..cfa6f97 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -133,6 +133,18 @@ UI.message("App ID = #{getPackageName(options)}") end + desc "Validate the current setup" + # For now, dry-run gradle task + # TODO: verify Android SDK + lane :validate do |options| + gradle( + task: "clean assemble", + build_type: 'Release', + flavor: "#{getFlavorName(options)}", + flags: "--dry-run", + ) + end + desc "Run all the tests" lane :test do |options| gradle(