Skip to content

Commit

Permalink
rename to textutils
Browse files Browse the repository at this point in the history
  • Loading branch information
siakhooi committed Mar 20, 2023
1 parent b607eb4 commit 6084f8d
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .github/bin/deploy-to-siakhooi-apt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ TARGETPATH=docs/pool/main/binary-amd64
TARGETURL=https://${PUBLIC_TO_APT_GITHUB_TOKEN}@github.com/siakhooi/apt.git
TARGETBRANCH=main
TARGETDIR=apt
TARGET_GIT_EMAIL=devutils-echo-colors@siakhooi.github.io
TARGET_GIT_USERNAME=devutils-echo-colors
TARGET_COMMIT_MESSAGE="bash-devutils-echo-colors: Auto deploy [$(date)]"
TARGET_GIT_EMAIL=textutils@siakhooi.github.io
TARGET_GIT_USERNAME=textutils
TARGET_COMMIT_MESSAGE="bash-textutils: Auto deploy [$(date)]"

(
cd $TMPDIR
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ build:
./build.sh

test-man:
pandoc src/md/siakhooi-devutils-indent.1.md -s -t man | man -l -
pandoc src/md/siakhooi-textutils-indent.1.md -s -t man | man -l -

test-install:
sudo apt install -f ./indent_1.0.0_amd64.deb
sudo apt install -f ./siakhooi-textutils_1.1.0_amd64.deb
sudo apt remove -y indent

delete-tags:
git tag --delete 1.0.0
git push --delete origin 1.0.0

terminalizer:
terminalizer render docs/terminalizer-indent
terminalizer render docs/terminalizer-textutils

docker-ubuntu-bash:
docker run --rm -it -w /working -v $$(pwd):/working ubuntu bash
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# bash-devutils-indent
# bash-textutils

Package `siakhooi-devutils-indent` to indent line of texts with a prefix.
Package `siakhooi-textutils` to indent line of texts with a prefix.

## Commands

Expand All @@ -19,7 +19,7 @@ $ sudo curl -L https://siakhooi.github.io/apt/siakhooi-apt.list | sudo tee /etc/
$ sudo curl -L https://siakhooi.github.io/apt/siakhooi-apt.gpg | sudo tee /usr/share/keyrings/siakhooi-apt.gpg > /dev/null
$ sudo apt update

$ sudo apt install siakhooi-devutils-indent
$ sudo apt install siakhooi-textutils
```

## Deployments
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ cp -vr $SOURCE/bin $TARGET/usr

# Man Pages
mkdir -p $TARGET/usr/share/man/man1/
pandoc $SOURCE/md/siakhooi-devutils-indent.1.md -s -t man | gzip -9 >$TARGET/usr/share/man/man1/siakhooi-devutils-indent.1.gz
pandoc $SOURCE/md/siakhooi-textutils-indent.1.md -s -t man | gzip -9 >$TARGET/usr/share/man/man1/siakhooi-textutils-indent.1.gz

## Create links
(
cd $TARGET/usr/share/man/man1/
ln -s siakhooi-devutils-indent.1.gz indent.1.gz
ln -s siakhooi-textutils-indent.1.gz indent.1.gz
)

dpkg-deb --build -Zxz $TARGET
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion in-container-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ yes | unminimize

apt install -y man-db

apt install -y ./siakhooi-devutils-indent_1.0.2_amd64.deb
apt install -y ./siakhooi-textutils_1.1.0_amd64.deb
6 changes: 3 additions & 3 deletions src/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: siakhooi-devutils-indent
Version: 1.0.2
Package: siakhooi-textutils
Version: 1.1.0
Maintainer: Siak Hooi <siakhooi@gmail.com>
Depends: coreutils, bash
Architecture: amd64
Homepage: <https://github.com/siakhooi/bash-devutils-indent>
Homepage: <https://github.com/siakhooi/bash-textutils>
Description: command to indent line of texts with a prefix.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% INDENT(1) Siak Hooi DevUtils 1.1.0 |Text Utils
% INDENT(1) Siak Hooi TextUtils 1.1.0 |Text Utils
% Siak Hooi
% March 2023

Expand All @@ -20,4 +20,4 @@ $ cat filename1 | **indent** '>>>>\ '
MIT

# BUGS
Report bugs at https://github.com/siakhooi/bash-devutils-indent/issues.
Report bugs at https://github.com/siakhooi/bash-textutils/issues.

0 comments on commit 6084f8d

Please sign in to comment.