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

Add "file_content(filename)" function #2507

Merged
merged 5 commits into from
Dec 10, 2024
Merged

Conversation

begoon
Copy link
Contributor

@begoon begoon commented Dec 7, 2024

This PR adds file_content() function, which loads a file content as a string.

In task runners like just, one often needs to load from the file system (like "VERSION.txt" etc.).

@casey casey enabled auto-merge (squash) December 10, 2024 22:49
@casey casey merged commit 464fdbc into casey:master Dec 10, 2024
5 checks passed
@casey
Copy link
Owner

casey commented Dec 10, 2024

Seems reasonable to me! Changed the name to read_to_string to be more explicit.

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