Skip to content

Commit

Permalink
Merge branch 'main' into fe-token-session-storage-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
whusterj authored Sep 16, 2024
2 parents f3a542f + a16b513 commit b5ed7cc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
publish:
if: needs.configuremobile.outputs.BUILD_MOBILE_APP != 0
needs: configuremobile
runs-on: ubuntu-latest
steps:
Expand Down
11 changes: 11 additions & 0 deletions hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,16 @@ def remove_mobile_client_files(client):
rmtree(join(mobile_clients_path, client))


def remove_special_mobile_files():
file_names = [join("scripts/setup_mobile_config.sh")]
directories = [join("resources")]
for file in file_names:
if exists(file):
remove(file)
for directory in directories:
rmtree(directory)


def move_mobile_client_to_root(client):
if exists("mobile"):
rmtree("mobile")
Expand Down Expand Up @@ -164,6 +174,7 @@ def main():
move_mobile_client_to_root("react-native")
else:
remove_expo_yaml_files()
remove_special_mobile_files()

clean_up_clients_folder()

Expand Down

0 comments on commit b5ed7cc

Please sign in to comment.