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

Allow a separate file for modifications to util/dist_prefs #502

Merged
merged 5 commits into from
Sep 21, 2023

Conversation

jsberg-bnl
Copy link
Contributor

The idea here is that if you're building in git, you don't want to modify util/dist_prefs, otherwise you'll be potentially pushing your local modifications. The idea is to source a file after util/dist_prefs. This patch gives two options for accomplishing this:

  1. Create a file util/user_prefs.
  2. Set an environment variable BMAD_USER_PREFS which is the full path to a file with user preferences.

The former is a simpler option for someone just building in a single tree. The latter is nicer for someone (like me) who's maybe using worktree to build releases while maintaining a development tree. As written, if both are present it will do both (2 then 1), though that is not the usage I would expect.

@DavidSagan DavidSagan merged commit 8e91fad into bmad-sim:main Sep 21, 2023
1 check 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.

2 participants