mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
ea0c4e96d2
* feat: implement magic link login * ci: create env file * ci: generate flutter env files * ci: disable inject env * chore: update table name * Update frontend/appflowy_flutter/lib/env/env.dart Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com> * chore: fix compile --------- Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
35 lines
818 B
Bash
Executable File
35 lines
818 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Store the current working directory
|
|
original_dir=$(pwd)
|
|
|
|
# Change the current working directory to the script's location
|
|
cd "$(dirname "$0")"
|
|
|
|
# Call the script in the 'language_files' folder
|
|
echo "Generating files using easy_localization"
|
|
cd language_files
|
|
# Allow execution permissions on CI
|
|
chmod +x ./generate_language_files.sh
|
|
./generate_language_files.sh "$@"
|
|
|
|
# Return to the main script directory
|
|
cd ..
|
|
|
|
# Call the script in the 'freezed' folder
|
|
echo "Generating files using build_runner"
|
|
cd freezed
|
|
# Allow execution permissions on CI
|
|
chmod +x ./generate_freezed.sh
|
|
./generate_freezed.sh "$@"
|
|
cd..
|
|
|
|
echo "Generating env files using build_runner"
|
|
cd env
|
|
# Allow execution permissions on CI
|
|
chmod +x ./generate_env.sh
|
|
./generate_env.sh "$@"
|
|
|
|
# Return to the original directory
|
|
cd "$original_dir"
|