feat: CI/CD, Bash-Completion und README-Verbesserungen
- GitHub Actions CI Pipeline (Tests, Clippy, Format-Checks) - GitHub Actions Release Pipeline (Multi-Platform Builds) - Bash-Completion Script für Shell-Autovervollständigung - Zsh-Completion Script (_ntu) - README Badges (CI, Release, Version, License) - Installationsanleitung für Pre-built Binaries - Alte build.yaml entfernt (ersetzt durch moderne ci.yml) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f4006ba99d
commit
53c10f1913
6 changed files with 266 additions and 64 deletions
38
README.md
38
README.md
|
|
@ -1,5 +1,11 @@
|
|||
# Filename Repair Tool for Linux
|
||||
# "NameToUnix"
|
||||
# NameToUnix
|
||||
|
||||
[](https://github.com/jamulix/NameToUnix/actions)
|
||||
[](https://github.com/jamulix/NameToUnix/releases)
|
||||
[](https://github.com/jamulix/NameToUnix/releases)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
|
||||
**Filename Repair Tool for Linux** · Binary: `ntu`
|
||||
|
||||
(german and english)
|
||||
|
||||
|
|
@ -41,6 +47,29 @@ Dies ist mein erstes Programm in Rust. (Bitte seid gnädig.)
|
|||
|
||||
## Installation
|
||||
|
||||
### Option 1: Pre-built Binary (Recommended)
|
||||
|
||||
Download the latest release for your platform from [GitHub Releases](https://github.com/jamulix/NameToUnix/releases):
|
||||
|
||||
```bash
|
||||
# Linux x86_64
|
||||
wget https://github.com/jamulix/NameToUnix/releases/latest/download/ntu-linux-x86_64.tar.gz
|
||||
tar xzf ntu-linux-x86_64.tar.gz
|
||||
sudo mv ntu /usr/local/bin/
|
||||
|
||||
# macOS Intel
|
||||
wget https://github.com/jamulix/NameToUnix/releases/latest/download/ntu-macos-x86_64.tar.gz
|
||||
tar xzf ntu-macos-x86_64.tar.gz
|
||||
sudo mv ntu /usr/local/bin/
|
||||
|
||||
# macOS Apple Silicon (M1/M2)
|
||||
wget https://github.com/jamulix/NameToUnix/releases/latest/download/ntu-macos-arm64.tar.gz
|
||||
tar xzf ntu-macos-arm64.tar.gz
|
||||
sudo mv ntu /usr/local/bin/
|
||||
```
|
||||
|
||||
### Option 2: Build from Source
|
||||
|
||||
Die ausführbare Datei wird unter `target/release/ntu` erstellt. Du solltest sie mit 'sudo cp target/release/ntu /usr/local/bin/' kopieren. Sie ist dann für alle User verfügbar. Denke daran, die Konfiguationsdatei (s. u.) ebenfalls zu kopieren. Sie kann für jeden User individuell angepasst werden, wenn sie im home-Verzeichnis des Users liegt.
|
||||
|
||||
The executable file is created under `target/release/ntu`. You should copy it with 'sudo cp target/release/ntu /usr/local/bin/'. It is then available for all users. Remember to copy the configuration file (see below) as well. It can be customized for each user individually if it is located in the user's home directory.
|
||||
|
|
@ -58,6 +87,11 @@ sudo cp .NameToUnix.conf /etc/NameToUnix/config.toml # Copy config file to
|
|||
# Lokale Einstellungen / Local settings
|
||||
mkdir -p ~/.config/NameToUnix/ # Create a personal config directory for NameToUnix
|
||||
cp .NameToUnix.conf ~/.config/NameToUnix/config.toml # Copy config file to this personal directory
|
||||
|
||||
# Bash-Completion (optional)
|
||||
sudo cp completions/ntu.bash /etc/bash_completion.d/ntu # Bash completion
|
||||
# Oder für Zsh:
|
||||
sudo cp completions/_ntu /usr/share/zsh/site-functions/_ntu # Zsh completion
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue