1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-25 14:05:41 -05:00

Add alacritty-msg manpage to documentation

The original multiwindow PR added a new manpage, however this was not
properly documented or included in our CI. This patch resolves these
issues.
This commit is contained in:
Christian Duerr 2021-11-08 23:22:09 +00:00 committed by GitHub
parent 33db289f7f
commit b885ec9cd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 1 deletions

View file

@ -71,12 +71,15 @@ jobs:
- name: Test - name: Test
run: cargo test --release run: cargo test --release
- name: Gzip manpage - name: Gzip manpage
run: gzip -c "./extra/alacritty.man" > "./alacritty.1.gz" run: |
gzip -c "./extra/alacritty.man" > "./alacritty.1.gz"
gzip -c "./extra/alacritty-msg.man" > "./alacritty-msg.1.gz"
- name: Upload Assets - name: Upload Assets
run: | run: |
mv ./extra/logo/alacritty-term.svg ./Alacritty.svg mv ./extra/logo/alacritty-term.svg ./Alacritty.svg
./.github/workflows/upload_asset.sh ./Alacritty.svg $GITHUB_TOKEN ./.github/workflows/upload_asset.sh ./Alacritty.svg $GITHUB_TOKEN
./.github/workflows/upload_asset.sh ./alacritty.1.gz $GITHUB_TOKEN ./.github/workflows/upload_asset.sh ./alacritty.1.gz $GITHUB_TOKEN
./.github/workflows/upload_asset.sh ./alacritty-msg.1.gz $GITHUB_TOKEN
./.github/workflows/upload_asset.sh ./extra/completions/alacritty.bash $GITHUB_TOKEN ./.github/workflows/upload_asset.sh ./extra/completions/alacritty.bash $GITHUB_TOKEN
./.github/workflows/upload_asset.sh ./extra/completions/alacritty.fish $GITHUB_TOKEN ./.github/workflows/upload_asset.sh ./extra/completions/alacritty.fish $GITHUB_TOKEN
./.github/workflows/upload_asset.sh ./extra/completions/_alacritty $GITHUB_TOKEN ./.github/workflows/upload_asset.sh ./extra/completions/_alacritty $GITHUB_TOKEN

View file

@ -7,6 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## 0.10.0-dev ## 0.10.0-dev
### Packaging
- New `extra/alacritty-msg.man` manpage for the `alacritty msg` subcommand
### Added ### Added
- Option `colors.transparent_background_colors` to allow applying opacity to all background colors - Option `colors.transparent_background_colors` to allow applying opacity to all background colors

View file

@ -310,6 +310,7 @@ Installing the manual page requires the additional dependency `gzip`.
```sh ```sh
sudo mkdir -p /usr/local/share/man/man1 sudo mkdir -p /usr/local/share/man/man1
gzip -c extra/alacritty.man | sudo tee /usr/local/share/man/man1/alacritty.1.gz > /dev/null gzip -c extra/alacritty.man | sudo tee /usr/local/share/man/man1/alacritty.1.gz > /dev/null
gzip -c extra/alacritty-msg.man | sudo tee /usr/local/share/man/man1/alacritty-msg.1.gz > /dev/null
``` ```
### Shell completions ### Shell completions

View file

@ -3,6 +3,7 @@ TARGET = alacritty
ASSETS_DIR = extra ASSETS_DIR = extra
RELEASE_DIR = target/release RELEASE_DIR = target/release
MANPAGE = $(ASSETS_DIR)/alacritty.man MANPAGE = $(ASSETS_DIR)/alacritty.man
MANPAGE-MSG = $(ASSETS_DIR)/alacritty-msg.man
TERMINFO = $(ASSETS_DIR)/alacritty.info TERMINFO = $(ASSETS_DIR)/alacritty.info
COMPLETIONS_DIR = $(ASSETS_DIR)/completions COMPLETIONS_DIR = $(ASSETS_DIR)/completions
COMPLETIONS = $(COMPLETIONS_DIR)/_alacritty \ COMPLETIONS = $(COMPLETIONS_DIR)/_alacritty \
@ -45,6 +46,7 @@ $(APP_NAME)-%: $(TARGET)-%
@mkdir -p $(APP_EXTRAS_DIR) @mkdir -p $(APP_EXTRAS_DIR)
@mkdir -p $(APP_COMPLETIONS_DIR) @mkdir -p $(APP_COMPLETIONS_DIR)
@gzip -c $(MANPAGE) > $(APP_EXTRAS_DIR)/alacritty.1.gz @gzip -c $(MANPAGE) > $(APP_EXTRAS_DIR)/alacritty.1.gz
@gzip -c $(MANPAGE-MSG) > $(APP_EXTRAS_DIR)/alacritty-msg.1.gz
@tic -xe alacritty,alacritty-direct -o $(APP_EXTRAS_DIR) $(TERMINFO) @tic -xe alacritty,alacritty-direct -o $(APP_EXTRAS_DIR) $(TERMINFO)
@cp -fRp $(APP_TEMPLATE) $(APP_DIR) @cp -fRp $(APP_TEMPLATE) $(APP_DIR)
@cp -fp $(APP_BINARY) $(APP_BINARY_DIR) @cp -fp $(APP_BINARY) $(APP_BINARY_DIR)