Skip to content

Commit

Permalink
fix: Revert "chore: Include env variable copying into yarn setup comm…
Browse files Browse the repository at this point in the history
…and" (#8976)

Reverts #8919

Revert this PR for now since it breaks E2E smoke
  • Loading branch information
Cal-L authored Mar 18, 2024
1 parent 0550041 commit 59b43b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ yarn setup

_Not the usual install command, this will run scripts and a lengthy postinstall flow_

**Setup environment variables**
```bash
cp .ios.env.example .ios.env && \
cp .android.env.example .android.env && \
cp .js.env.example .js.env
```

### Running the app

**Run Metro bundler**
Expand Down
14 changes: 0 additions & 14 deletions scripts/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,3 @@ echo "" > ios/release.xcconfig
echo "6. Init git submodules"
echo "This may take a while..."
git submodule update --init

echo "7. Copy env variables..."
if [ ! -f .js.env ]; then
echo "Creating .js.env..."
cp .js.env.example .js.env
fi
if [ ! -f .android.env ]; then
echo "Creating .android.env..."
cp .android.env.example .android.env
fi
if [ ! -f .ios.env ]; then
echo "Creating .ios.env"
cp .ios.env.example .ios.env
fi

0 comments on commit 59b43b4

Please sign in to comment.