Javier Cicchelli 9bcdaa697b [Setup] Basic project structure (#1)
This PR contains all the work related to setting up this project as required to implement the [Assignment](https://repo.rock-n-code.com/rock-n-code/deep-linking-assignment/wiki/Assignment) on top, as intended.

To summarise this work:
- [x] created a new **Xcode** project;
- [x] cloned the `Wikipedia` app and inserted it into the **Xcode** project;
- [x] created the `Locations` app and also, its `Libraries` package;
- [x] created the `Shared` package to share dependencies between the apps;
- [x] added a `Makefile` file and implemented some **environment** and **help** commands.

Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Reviewed-on: rock-n-code/deep-linking-assignment#1
2023-04-08 18:37:13 +00:00

75 lines
1.9 KiB
Ruby

# This config file controls which devices and languages we'll use to take automated screenshots.
# Reminder: launch automated screenshot taking via `bundle exec fastlane snapshot`
# see: https://docs.fastlane.tools/actions/snapshot/
# A list of devices you want to take the screenshots from.
devices([
# "iPhone 5s",
# "iPhone 6",
# "iPhone 6 Plus",
# "iPhone X",
# "iPad Air",
# "iPad Pro (12.9-inch)"
])
# A list of localizations you want to take the screenshots from.
# For supported langs see: https://docs.fastlane.tools/actions/snapshot/#available-language-codes
# TODO: investigate getting an RTL lang added to this list.
languages([
# "en-US",
# "de-DE",
# "es-ES",
# "fr-FR",
# "it",
# "ja",
# "nl-NL",
# "pt-PT",
# "ru",
# "sv",
# "zh-Hans",
# "da",
# "el",
# "fi",
# "id",
# "ko",
# "ms",
# "th",
# "tr",
# "vi"
])
# The name of the scheme which contains the UI Tests.
scheme "WikipediaUITests"
configuration "UITest"
# Where should the resulting screenshots be stored?
output_directory "./WikipediaUITests/Snapshots/"
# Clear all previously generated screenshots before creating new ones.
clear_previous_screenshots true
# Choose which project/workspace to use.
project "./Wikipedia.xcodeproj"
# workspace "./Wikipedia.xcworkspace"
# Arguments to pass to the app on launch.
# See https://docs.fastlane.tools/actions/snapshot/#launch-arguments
launch_arguments(["-FASTLANE_SNAPSHOT YES"])
# Re-install so every test can start from our Welcome screens.
reinstall_app true
# Don't retry.
number_of_retries 0
# Don't clean or it'll take one billion years when running the full device/lang matrix.
clean false
# Much faster when config'ed with it's own derived data folder - didn't seem to re-use otherwise.
derived_data_path "fastlane/snapshot_derived_data"
localize_simulator true
# For more information about all available options run `fastlane snapshot --help`