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

View file

@ -45,8 +45,8 @@ To install Bulk Barrage, follow these steps:
2. Clone the repository: 2. Clone the repository:
```bash ```bash
git clone https://github.com/your-repo/bulkbarrage.git git clone https://github.com/your-repo/bulk-barrage.git
cd bulkbarrage cd bulk-barrage
``` ```
3. Use the Makefile to build the project: 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: Bulk Barrage can be used in a few simple steps:
```bash ```bash
Usage: bulkbarrage [options] [command] Usage: bulk-barrage [options] [command]
Commands: Commands:
configure Initialize the configuration configure Initialize the configuration
@ -75,7 +75,7 @@ Options:
To report a spam email, you can use the `report` command: To report a spam email, you can use the `report` command:
```bash ```bash
cat spam_email.eml | bulkbarrage report cat spam_email.eml | bulk-barrage report
``` ```
### Reporting spam from Mutt (or Neomutt) ### 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. Add the following code in your `~/.muttrc` configuration file.
```muttrc ```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 ## 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 configuration, which may include credentials or preferences for interacting
with the SignalSpam platform. with the SignalSpam platform.

View file

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