Skip to content
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

Merged
merged 1 commit into from
Oct 24, 2018

Conversation

jrbriggs
Copy link
Member

No description provided.

Copy link
Contributor

@sanoursa sanoursa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup!

export VFS_ENLISTMENTDIR=$VFS_SRCDIR/..
export VFS_OUTPUTDIR=$VFS_ENLISTMENTDIR/BuildOutput
export VFS_PUBLISHDIR=$VFS_ENLISTMENTDIR/Publish
export VFS_PACKAGESDIR=$VFS_ENLISTMENTDIR/packages
Copy link
Contributor

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

echo git --work-tree=$VFS_SRCDIR clean -Xdf -n
git --work-tree=$VFS_SRCDIR clean -Xdf -n
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same, trailing newline


SRCDIR=$SCRIPTDIR/../..
ROOTDIR=$SRCDIR/..
sudo rm -Rf $VFS_ENLISTMENTDIR/BuildOutput
Copy link
Contributor

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?

Copy link
Member Author

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.

@jrbriggs jrbriggs merged commit dd9646e into microsoft:master Oct 24, 2018
@jrbriggs jrbriggs deleted the mac-init branch October 24, 2018 18:21
@jrbriggs jrbriggs added this to the S147 milestone Feb 7, 2019
@jrbriggs jrbriggs added the affects: engineering Keeping the engineering system healthy label Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: engineering Keeping the engineering system healthy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants