chore: rename binary to bulk-barrage
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Glenn Y. Rolland 2023-12-25 20:00:17 +01:00
parent 62440829f0
commit b05d59ae54
3 changed files with 13 additions and 13 deletions

View file

@ -7,7 +7,7 @@ steps:
- name: build:binary
image: crystallang/crystal:1.10.1-alpine
environment:
PACKAGE_BASENAME: bulkbarrage_linux_amd64
PACKAGE_BASENAME: bulk-barrage_linux_amd64
volumes:
- name: cache
path: /_cache
@ -21,17 +21,17 @@ steps:
# libyaml-dev liblzma-dev
- shards install
- shards build --production --static
- strip bin/bulkbarrage
- ./bin/bulkbarrage --version
- strip bin/bulk-barrage
- ./bin/bulk-barrage --version
- mkdir -p /_cache/bin
- cp -r bin/bulkbarrage /_cache/bin/$PACKAGE_BASENAME
- cp -r bin/bulk-barrage /_cache/bin/$PACKAGE_BASENAME
- name: publish:tag
image: alpine
environment:
PACKAGE_UPLOAD_URL: https://code.apps.glenux.net/api/v1/packages/glenux/generic/bulk-barrage
RELEASES_URL: https://code.apps.glenux.net/api/v1/repos/glenux/bulk-barrage/releases
PACKAGE_BASENAME: bulkbarrage_linux_amd64
PACKAGE_BASENAME: bulk-barrage_linux_amd64
RELEASE_UPLOAD_TOKEN:
from_secret: RELEASE_UPLOAD_TOKEN
PACKAGE_UPLOAD_TOKEN:

View file

@ -45,8 +45,8 @@ To install Bulk Barrage, follow these steps:
2. Clone the repository:
```bash
git clone https://github.com/your-repo/bulkbarrage.git
cd bulkbarrage
git clone https://github.com/your-repo/bulk-barrage.git
cd bulk-barrage
```
3. Use the Makefile to build the project:
@ -60,7 +60,7 @@ To install Bulk Barrage, follow these steps:
Bulk Barrage can be used in a few simple steps:
```bash
Usage: bulkbarrage [options] [command]
Usage: bulk-barrage [options] [command]
Commands:
configure Initialize the configuration
@ -75,7 +75,7 @@ Options:
To report a spam email, you can use the `report` command:
```bash
cat spam_email.eml | bulkbarrage report
cat spam_email.eml | bulk-barrage report
```
### Reporting spam from Mutt (or Neomutt)
@ -83,12 +83,12 @@ cat spam_email.eml | bulkbarrage report
Add the following code in your `~/.muttrc` configuration file.
```muttrc
macro index,pager \ez "<enter-command>set pipe_decode=no\n<pipe-entry>bulkbarrage report\n<enter-command>set pipe_decode=yes\n<delete-message>" "Report a spam using Bulk Barrage"
macro index,pager \ez "<enter-command>set pipe_decode=no\n<pipe-entry>bulk-barrage report\n<enter-command>set pipe_decode=yes\n<delete-message>" "Report a spam using Bulk Barrage"
```
## Configuration
After installation, run `bulkbarrage configure` to set up your user
After installation, run `bulk-barrage configure` to set up your user
configuration, which may include credentials or preferences for interacting
with the SignalSpam platform.

View file

@ -1,9 +1,9 @@
---
name: bulkbarrage
name: bulk-barrage
version: 0.1.0
targets:
bulkbarrage:
bulk-barrage:
main: src/main.cr
# authors: