Skip to content

Fix extra space appearing in dependency protocol in Nodes Xcode template#319

Merged
tinder-matthewmourlam merged 1 commit intomainfrom
feature/remove-builder-dependency-newline
Mar 20, 2023
Merged

Fix extra space appearing in dependency protocol in Nodes Xcode template#319
tinder-matthewmourlam merged 1 commit intomainfrom
feature/remove-builder-dependency-newline

Conversation

@tinder-matthewmourlam
Copy link
Contributor

Fix extra space appearing in dependency protocol in Nodes Xcode template using {{ '{' }}.
Will want to consider using trimBehavior environment setting in stencil.

tinder-cfuller
tinder-cfuller previously approved these changes Mar 2, 2023
Copy link
Contributor

@tinder-cfuller tinder-cfuller left a comment

Choose a reason for hiding this comment

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

👍

@@ -0,0 +1,2 @@
cd "$(dirname "$0")"
rm -rf XcodeTemplateGeneratorLibraryTests/__Snapshots__/* No newline at end of file
Copy link
Contributor

@tinder-cfuller tinder-cfuller Mar 2, 2023

Choose a reason for hiding this comment

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

Please move just this single rm line to the Makefile as a new recipe named delete-snapshots (The cd is not needed in this case). Then delete this clear_snapshots file. Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

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

Actually the command will need to be rm -rf Tests/XcodeTemplateGeneratorLibraryTests/__Snapshots__/*

Copy link
Contributor

Choose a reason for hiding this comment

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

The delete-snapshots recipe would look like this…

.PHONY: delete-snapshots
delete-snapshots:
	rm -rf Tests/XcodeTemplateGeneratorLibraryTests/__Snapshots__/*

(note that the second line is indented with a tab character, not spaces, which is a Makefile requirement)

Copy link
Contributor

@tinder-cfuller tinder-cfuller left a comment

Choose a reason for hiding this comment

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

🚀

@tinder-matthewmourlam tinder-matthewmourlam merged commit 8099d3e into main Mar 20, 2023
@tinder-matthewmourlam tinder-matthewmourlam deleted the feature/remove-builder-dependency-newline branch March 20, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

templates Templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants