Skip to content

Commit

Permalink
dev: check for file
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Sep 21, 2023
1 parent d646cdf commit 1daca9d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ platform :android do
ENV["ENTRY_FILE"] = File.expand_path("../src/libs/E2E/reactNativeLaunchingTest.js", Dir.pwd)
ENV["E2E_TESTING"]="true"

# Test if the entry file exists, otherwise fail early. If its there, log that we are good to proceed
if !File.file?(ENV["ENTRY_FILE"])
UI.user_error!("E2E entry file not found at #{ENV["ENTRY_FILE"]}")
else
UI.success("E2E entry file found at #{ENV["ENTRY_FILE"]}")
end

gradle(
project_dir: './android',
task: ':app:assemble',
Expand Down

0 comments on commit 1daca9d

Please sign in to comment.