Skip to content

Commit

Permalink
Modify .env.example as well as .env
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstauffer committed Sep 4, 2018
1 parent 7b849a5 commit 8289695
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lambo
Original file line number Diff line number Diff line change
Expand Up @@ -319,14 +319,15 @@ perlCommands=(
"s/(APP_URL=)(.*)/\1http:\/\/$PROJECTNAME.$TLD/g"
)

if [[ "$LINK" = true ]]; then
valet link "$PROJECTNAME"
fi

for perlCommand in "${perlCommands[@]}"; do
perl -pi -e "$perlCommand" ".env.example"
perl -pi -e "$perlCommand" ".env"
done

if [[ "$LINK" = true ]]; then
valet link "$PROJECTNAME"
fi

if [[ "$(uname)" == "Darwin" ]]; then
if [[ "$BROWSER" != "" ]]; then
open -a "$BROWSER" "$PROJECTURL"
Expand Down

0 comments on commit 8289695

Please sign in to comment.