mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[PR #304] [MERGED] generate a man page as part of the build #413
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/bootandy/dust/pull/304
Author: @alexanderkjall
Created: 1/27/2023
Status: ✅ Merged
Merged: 1/28/2023
Merged by: @bootandy
Base:
master← Head:generate-man-page📝 Commits (2)
2472606generate a man page as part of the buildf0834c0use create_dir_all instead of create_dir as that doesn't fail if the directory already exists, and make sure to propagate the error out📊 Changes
4 files changed (+111 additions, -0 deletions)
View changed files
📝
Cargo.lock(+17 -0)📝
Cargo.toml(+1 -0)📝
build.rs(+9 -0)➕
man-page/dust.1(+84 -0)📄 Description
This writes the man page to the source code repository and I have checked in the resulting file.
I'm not very certain that the way you want to have this done, but I tried to follow the pattern of how the command completion files are generated.
Please come with feedback or nitpicks and I can rework the PR :)
closes #45
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.