From b05d59ae543bb609d2620d7db8a39101b9bfc71a Mon Sep 17 00:00:00 2001 From: Glenn Date: Mon, 25 Dec 2023 20:00:17 +0100 Subject: [PATCH] chore: rename binary to bulk-barrage --- .drone.yml | 10 +++++----- README.md | 12 ++++++------ shard.yml | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.drone.yml b/.drone.yml index a822836..b0dad89 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: diff --git a/README.md b/README.md index 3ed8530..abddb7c 100644 --- a/README.md +++ b/README.md @@ -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 "set pipe_decode=no\nbulkbarrage report\nset pipe_decode=yes\n" "Report a spam using Bulk Barrage" +macro index,pager \ez "set pipe_decode=no\nbulk-barrage report\nset pipe_decode=yes\n" "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. diff --git a/shard.yml b/shard.yml index 1b66e53..12bcef6 100644 --- a/shard.yml +++ b/shard.yml @@ -1,9 +1,9 @@ --- -name: bulkbarrage +name: bulk-barrage version: 0.1.0 targets: - bulkbarrage: + bulk-barrage: main: src/main.cr # authors: