Skip to content

Commit

Permalink
support .config directory for mill-version
Browse files Browse the repository at this point in the history
for parity with com-lihaoyi/mill#945
  • Loading branch information
nrktkt authored Jul 21, 2022
1 parent 5599833 commit 789d414
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions millw
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ fi
if [ -z "${MILL_VERSION}" ] ; then
if [ -f ".mill-version" ] ; then
MILL_VERSION="$(head -n 1 .mill-version 2> /dev/null)"
elif [ -f ".config/mill-version" ] ; then
MILL_VERSION="$(head -n 1 .config/mill-version 2> /dev/null)"
fi
fi

Expand Down

0 comments on commit 789d414

Please sign in to comment.