-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ ❄️ 💡 ⚡️ Instead of creating ~/.homestead, just the repo folder inst…
…ead.
- Loading branch information
1 parent
94275e9
commit 06b52c7
Showing
4 changed files
with
10 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
/vendor | ||
/.vagrant | ||
phpunit.xml | ||
/Homestead.yaml | ||
/after.sh | ||
/aliases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
@echo off | ||
|
||
set homesteadRoot=%HOMEDRIVE%%HOMEPATH%\.homestead | ||
copy /-y src\stubs\Homestead.yaml Homestead.yaml | ||
copy /-y src\stubs\after.sh after.sh | ||
copy /-y src\stubs\aliases aliases | ||
|
||
mkdir "%homesteadRoot%" | ||
|
||
copy /-y src\stubs\Homestead.yaml "%homesteadRoot%\Homestead.yaml" | ||
copy /-y src\stubs\after.sh "%homesteadRoot%\after.sh" | ||
copy /-y src\stubs\aliases "%homesteadRoot%\aliases" | ||
|
||
set homesteadRoot= | ||
echo Homestead initialized! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
homesteadRoot=~/.homestead | ||
|
||
mkdir -p "$homesteadRoot" | ||
|
||
cp -i src/stubs/Homestead.yaml "$homesteadRoot/Homestead.yaml" | ||
cp -i src/stubs/after.sh "$homesteadRoot/after.sh" | ||
cp -i src/stubs/aliases "$homesteadRoot/aliases" | ||
cp -i src/stubs/Homestead.yaml Homestead.yaml | ||
cp -i src/stubs/after.sh after.sh | ||
cp -i src/stubs/aliases aliases | ||
|
||
echo "Homestead initialized!" |