Skip to content

Conversation

WhosNickDoglio
Copy link
Contributor

@WhosNickDoglio WhosNickDoglio commented Nov 4, 2022

This adds support for converting the buildFeatures block!

I'm bad at regex so instead of updating addEquals to better filter out false positives I created a new convertBuildFeatures function at the end that will look for all the buildFeatures and what they're set to and then update them to include the equals.

Let me know if this is okay or if you'd preview something a little smarter 😅

@bernaferrari
Copy link
Owner

That looks great! Should I merge? You opened as a draft.

@WhosNickDoglio
Copy link
Contributor Author

Sorry I wasn't expecting such a quick response I was going to add a TODO 😅

Currently this supports all buildFeatures except compose and just adding it to buildFeatures property will break a bunch of other things in the file, I'm going to work on this more later this week when I have more time!

@WhosNickDoglio WhosNickDoglio force-pushed the ndoglio-buildfeatures branch 5 times, most recently from 636b4c4 to 8d9e8e9 Compare November 4, 2022 03:08
@WhosNickDoglio WhosNickDoglio force-pushed the ndoglio-buildfeatures branch 2 times, most recently from b6d5533 to fe15dd2 Compare November 16, 2022 23:44
@WhosNickDoglio WhosNickDoglio force-pushed the ndoglio-buildfeatures branch 2 times, most recently from 1f20367 to 951c2b2 Compare December 3, 2022 00:26
@WhosNickDoglio WhosNickDoglio marked this pull request as ready for review December 3, 2022 00:30
@WhosNickDoglio
Copy link
Contributor Author

@bernaferrari this is now ready for review whenever you get a chance 👍

@bernaferrari
Copy link
Owner

Perfect, thanks!

@bernaferrari bernaferrari merged commit d12e7b9 into bernaferrari:master Dec 3, 2022
@WhosNickDoglio WhosNickDoglio deleted the ndoglio-buildfeatures branch December 3, 2022 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants