Skip to content

Commit

Permalink
feat: added setting version in manual by nimble task
Browse files Browse the repository at this point in the history
FossilOrigin-Name: ad4e6fad1e2110f7babdcd5d5b39c907910b638cb303f67b29f22a8d8b3e14fb
  • Loading branch information
thindil committed Nov 30, 2023
1 parent 2f4cdf0 commit 6be251b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nish.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ task man, "create the UNIX man page for the shell":
let readme = readFile("README.md")
var man = readFile("tools" & DirSep & "nish.1.in")
man = man.replace("[README.md]", readme)
man = man.replace("[VERSION]", version)
writeFile(binDir & DirSep & "nish.1", man)
echo "The Unix man page for the shell was created."

Expand Down

0 comments on commit 6be251b

Please sign in to comment.