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

Unity files isolation and git vcs #766

Closed
claimred opened this issue Jul 7, 2020 · 2 comments
Closed

Unity files isolation and git vcs #766

claimred opened this issue Jul 7, 2020 · 2 comments
Labels

Comments

@claimred
Copy link
Contributor

claimred commented Jul 7, 2020

If I understand correctly .UnityInputIsolateWritableFiles is supposed to work with Perforce only. On the other hand, according to this PR #220 .UnityInputIsolateListFile is a more generic solution that requires a bit of work.

Just to make sure, I should write something like .Exec( 'git-status' ) {}, use it as .PreBuildDependency, gather modified files from it and pass it down to .UnityInputIsolateWritableFiles. Am I getting this right?

@ffulin
Copy link
Contributor

ffulin commented Jul 15, 2020

A pre-build dependency as you've described should work. Alternatively, invoking git yourself beforehand would also be fine if that's practical in your build setup. (For example you could easily invoke git first from visual studio by having multiple commands in the .ProjectBuildCommand.

It would be nice in the future to have a better integration that just works, which would probably involved invoking git and parsing the output.

@ffulin
Copy link
Contributor

ffulin commented Sep 18, 2020

I'm going to close this issue as answered for now. Let me know if you have any followup questions.

@ffulin ffulin closed this as completed Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants