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

Use Juvix formatter #39

Merged
merged 1 commit into from
Jan 27, 2023
Merged

Use Juvix formatter #39

merged 1 commit into from
Jan 27, 2023

Conversation

jonaprieto
Copy link
Collaborator

No description provided.

@echo "Formatting $@"
@juvix dev scope $@ --with-comments > $@.tmp
@echo "" >> $@.tmp
@mv $@.tmp $@
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't we do rm $@.tmp afterwards? Otherwise, you're left littered with all the *.tmp files.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's moving the file, not copying it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, I'm so absent-minded that I saw cp instead of mv

@jonaprieto jonaprieto merged commit d82ad4a into main Jan 27, 2023
@jonaprieto jonaprieto deleted the use-juvix-format branch January 27, 2023 12:53
jonaprieto added a commit that referenced this pull request Jan 27, 2023
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