Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Added parameters to tools/format.sh (Windows) #310

Merged

Conversation

meastp
Copy link
Contributor

@meastp meastp commented Apr 2, 2019

This adds parameters for skipping the sed operations and/or the operations that require installed software (clang-format, cmake-format ...).

The usage scenario is that @g-easy 's Docker-container is not useable in Windows Docker because the sed operations fail. However, the workaround is easy:

  • Install Git for Windows - this gives you a bash shell. Run format.sh from here, skipping the operations requiring installed software
  • Use @g-easy 's Docker container for the operations requiring installed software.

I have tested this, and it works very well :)

tools/format.sh Outdated Show resolved Hide resolved
tools/format.sh Outdated Show resolved Hide resolved
@g-easy
Copy link
Contributor

g-easy commented Apr 5, 2019

It passes on Travis now. @meastp are you happy with my edits / the state of this PR in general?

@g-easy g-easy requested a review from helly25 as a code owner April 8, 2019 07:46
@meastp
Copy link
Contributor Author

meastp commented Apr 9, 2019

Thank you for the fixes, @g-easy - LGTM :)

@g-easy g-easy merged commit b2c7a0a into census-instrumentation:master Apr 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants