Skip to content

Commit

Permalink
Address reviewer comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jhugman committed Oct 23, 2023
1 parent b8b6e6d commit ecef2d4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/nimbus/ios/scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#
# In addition, the `nimbus-fml.sh` and `nimbus-fml-configuration.local.sh` are added to `./gitignore`.
#
set -euo pipefail

CMDNAME=$(basename "$0")
AS_BASE="https://raw.githubusercontent.com/mozilla/application-services/main"
PATH_PREFIX="components/nimbus/ios/scripts"
Expand Down Expand Up @@ -61,7 +63,6 @@ fail_trap() {

#Stop execution on any error
trap 'fail_trap $? $LINENO' ERR
set -e

# Process the command line args.
while (( "$#" )); do
Expand Down
2 changes: 2 additions & 0 deletions components/nimbus/ios/scripts/nimbus-fml-configuration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

set -euo pipefail

# Local modifications/additions can be made in `nimbus-fml-configuration.local.sh`

## Set the channel that is used to generate the Swift code.
Expand Down
4 changes: 4 additions & 0 deletions components/nimbus/ios/scripts/nimbus-fml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
# 7. Add the "FML.swift" file in the `Generated` folder to your project.
# 8. Add the same "FML.swift" from the `Generated` folder as Output Files of the newly created "Run Script" step.
# 9. Start using the generated feature code.
set -euo pipefail

DIRNAME=$(dirname "$0")

Expand Down Expand Up @@ -112,6 +113,9 @@ find_as_version() {
AS_VERSION=${number_string//\.0\./\.} # rust-component-swift tags have a middle `.0.` to force it to align with spm. We remove it
}
FRESHEN_FML=
AS_VERSION=
MOZ_APPSERVICES_LOCAL=
REPO_FILES=
NIMBUS_DIR="$SOURCE_ROOT/build/nimbus"

export CACHE_DIR="$NIMBUS_DIR/fml-cache"
Expand Down

0 comments on commit ecef2d4

Please sign in to comment.