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

feat: sort the dev and runtime packages in bsf.hcl #132

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

hanshal101
Copy link
Contributor

@hanshal101 hanshal101 commented Nov 18, 2024

Fixes #126
Closes #126

Description

This PR sorts the Development and the Runtime packages present in the bsf.hcl in alphabetical order.
This works with both when the buildsafe is initialized and when packages are searched and added to the environment.

Additional

There might be better way of implementing the sortPackages function in the cmd\init\config.go.
As the same logic is used on the both cases. We can put this function to set.go in pkg\strings\set.go

@dr-housemd dr-housemd merged commit 40a220b into buildsafedev:main Nov 19, 2024
2 checks passed
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.

Sort packages in bsf.hcl
2 participants