-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Engineering] Centralize special Mac paths in InitializeEnviroment.sh #421
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice cleanup!
Scripts/Mac/InitializeEnvironment.sh
Outdated
export VFS_ENLISTMENTDIR=$VFS_SRCDIR/.. | ||
export VFS_OUTPUTDIR=$VFS_ENLISTMENTDIR/BuildOutput | ||
export VFS_PUBLISHDIR=$VFS_ENLISTMENTDIR/Publish | ||
export VFS_PACKAGESDIR=$VFS_ENLISTMENTDIR/packages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: a final newline makes the file more cat-friendly
Scripts/Mac/NukeBuildOutputs.sh
Outdated
echo git --work-tree=$VFS_SRCDIR clean -Xdf -n | ||
git --work-tree=$VFS_SRCDIR clean -Xdf -n |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same, trailing newline
Scripts/Mac/NukeBuildOutputs.sh
Outdated
|
||
SRCDIR=$SCRIPTDIR/../.. | ||
ROOTDIR=$SRCDIR/.. | ||
sudo rm -Rf $VFS_ENLISTMENTDIR/BuildOutput |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use $VFS_OUTPUTDIR
? In general, can we get rid of $VFS_ENLISTMENTDIR
everywhere and not even export it from the init script?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point -- yeah, I think we can.
No description provided.