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

support .config directory for mill-version #36

Merged
merged 4 commits into from
Sep 7, 2022
Merged

Conversation

nrktkt
Copy link
Contributor

@nrktkt nrktkt commented Jul 21, 2022

for parity with com-lihaoyi/mill#945

millw.bat Outdated
@@ -37,6 +37,9 @@ if [!MILL_VERSION!]==[] (
if exist .mill-version (
set /p MILL_VERSION=<.mill-version
)
else if exist .config\mill-version (
Copy link
Contributor Author

Choose a reason for hiding this comment

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

been a long time since I wrote batch, check if this is correct

Copy link
Owner

Choose a reason for hiding this comment

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

I think we need extra parenthesis in the else section, but have currently no system to test it.

Copy link
Owner

@lefou lefou left a comment

Choose a reason for hiding this comment

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

Thanks for this PR. I still need to make sure, the batch script is OK. I'm not a Windows user. Also, it would be nice to update the Readme about the .config/mill-version lookup.

@lefou lefou merged commit 4708566 into lefou:main Sep 7, 2022
@lefou
Copy link
Owner

lefou commented Sep 7, 2022

Thank you!

@lefou lefou added this to the after 0.4.2 milestone Sep 7, 2022
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