Setup fastlane for both iOS and Android
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -62,4 +62,5 @@ buck-out/
|
|||||||
# CocoaPods
|
# CocoaPods
|
||||||
/ios/Pods/
|
/ios/Pods/
|
||||||
|
|
||||||
build/
|
build/
|
||||||
|
fastlane/report.xml
|
||||||
@@ -79,6 +79,7 @@ import com.android.build.OutputFile
|
|||||||
|
|
||||||
project.ext.react = [
|
project.ext.react = [
|
||||||
enableHermes: false, // clean and rebuild if changing
|
enableHermes: false, // clean and rebuild if changing
|
||||||
|
entryFile: 'index.ts'
|
||||||
]
|
]
|
||||||
|
|
||||||
apply from: "../../node_modules/react-native/react.gradle"
|
apply from: "../../node_modules/react-native/react.gradle"
|
||||||
|
|||||||
2
fastlane/Appfile
Normal file
2
fastlane/Appfile
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
package_name("org.leinelissen.jellyfinaudioplayer")
|
||||||
|
app_identifier("org.leinelissen.JellyfinAudioPlayer")
|
||||||
23
fastlane/Fastfile
Normal file
23
fastlane/Fastfile
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
default_platform(:ios)
|
||||||
|
|
||||||
|
platform :ios do
|
||||||
|
lane :beta do
|
||||||
|
enable_automatic_code_signing
|
||||||
|
build_app(
|
||||||
|
scheme: "JellyfinAudioPlayer",
|
||||||
|
export_method: "development",
|
||||||
|
output_directory: "build",
|
||||||
|
workspace: "ios/JellyfinAudioPlayer.xcworkspace"
|
||||||
|
)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
platform :android do
|
||||||
|
desc "Generate beta build"
|
||||||
|
lane :beta do
|
||||||
|
gradle(
|
||||||
|
task: "clean assembleRelease",
|
||||||
|
project_dir: "android"
|
||||||
|
)
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -1 +0,0 @@
|
|||||||
app_identifier("org.leinelissen.JellyfinAudioPlayer") # The bundle identifier of your app
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
# This file contains the fastlane.tools configuration
|
|
||||||
# You can find the documentation at https://docs.fastlane.tools
|
|
||||||
#
|
|
||||||
# For a list of all available actions, check out
|
|
||||||
#
|
|
||||||
# https://docs.fastlane.tools/actions
|
|
||||||
#
|
|
||||||
# For a list of all available plugins, check out
|
|
||||||
#
|
|
||||||
# https://docs.fastlane.tools/plugins/available-plugins
|
|
||||||
#
|
|
||||||
|
|
||||||
# Uncomment the line if you want fastlane to automatically update itself
|
|
||||||
# update_fastlane
|
|
||||||
|
|
||||||
default_platform(:ios)
|
|
||||||
|
|
||||||
platform :ios do
|
|
||||||
lane :beta do
|
|
||||||
enable_automatic_code_signing
|
|
||||||
build_app(
|
|
||||||
scheme: "JellyfinAudioPlayer",
|
|
||||||
export_method: "development",
|
|
||||||
output_directory: "../build",
|
|
||||||
workspace: "JellyfinAudioPlayer.xcworkspace"
|
|
||||||
)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
Reference in New Issue
Block a user