diff --git a/APKBUILD b/APKBUILD index 358f84d..3db7aad 100644 --- a/APKBUILD +++ b/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Marty Sluijtman pkgname=dice-roller pkgver=0.3 -pkgrel=7 +pkgrel=9 pkgdesc="A little D&D dice roller written in go" url="https://gitlab.com/EternalWanderer/dice-roller" arch="all" @@ -25,6 +25,6 @@ package() { } sha512sums=" -fae8ab37cf7e4557c01f2b1c8d42d336e27fc2a2004ad16041dea97ea6ae1fa9ff9fcc69a25d087c790f86d6a82d66a34544a1041aa442f5f45fc5323d04000d dice-roller-0.3.tar.gz -d9cc5ea1c0473a33bd74b45bd30d10ef2948ea7a5769c4860de19cb48a2e48840be8827fde04c5284ac917d0f6ece62cc6c1c01f181fbecb27328462479c5954 zsh.completion +3b602f2f100e0a78db7bfdfb7a93249b602ee535dd83ed30d9a7121e79ff8fb83125d27ad468129685fe37e5978d933bf36100734cc6d8b2ad44bc136d95e7a6 dice-roller-0.3.tar.gz +0c25eb007d89a5c95c8f5c2924ca8f556e23ab53412b0186add03c8a3104c544c3ef8dbc6d3483bbaf04dfbd071cde5ebfc3ae5bf6d427152197376f7052d7f8 zsh.completion " diff --git a/Makefile b/Makefile index 9c089b9..79eb2b9 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ SRC = main.go go.mod all: dice-roller dice-roller: - go build -o dice-roller + go build -o dice-roller -trimpath clean: rm -f dice-roller dice-roller-$(VERSION).tar.gz diff --git a/zsh.completion b/zsh.completion index d91966a..b15bf98 100644 --- a/zsh.completion +++ b/zsh.completion @@ -1,17 +1,17 @@ #compdef dice dice-roller arguments=( - '(--coin --advantage --disadvantage --attacks)-a=[Roll a set rules multiple times]:(number of attacks)' - '(--coin --advantage --disadvantage -a)--attacks=[Roll a set rules multiple times]:(number of attacks)' + '(--coin --advantage --disadvantage --attacks)-a[Roll a set rules multiple times]:(number of attacks)' + '(--coin --advantage --disadvantage -a)--attacks[Roll a set rules multiple times]:(number of attacks)' - '(--coin --advantage --disadvantage -throws)-c=-[Specify amount of dice to cast]:(number of dice)' - '(--coin --advantage --disadvantage -c)--throws=-[Specify amount of dice to cast]:(number of dice)' + '(--coin --advantage --disadvantage --throws)-c[Specify amount of dice to cast]:(number of dice)' + '(--coin --advantage --disadvantage -c)--throws[Specify amount of dice to cast]:(number of dice)' - '(--coin --advantage --disadvantage --surfaces)-s=[Use to specify die surfaces]:(number of surfaces):(4 6 8 10 12 20 100)' - '(--coin --advantage --disadvantage -s)--surfaces=[Use to specify die surfaces]:(number of surfaces):(4 6 8 10 12 20 100)' + '(--coin --advantage --disadvantage --surfaces)-s[Use to specify die surfaces]:(number of surfaces):(4 6 8 10 12 20 100)' + '(--coin --advantage --disadvantage -s)--surfaces[Use to specify die surfaces]:(number of surfaces):(4 6 8 10 12 20 100)' - '(--coin --modifier)-m=[Add modifier to result of rolls]:(number to add)' - '(--coin -m)--modifier=[Add modifier to result of rolls]:(number to add)' + '(--coin --modifier)-m[Add modifier to result of rolls]:(number to add)' + '(--coin -m)--modifier[Add modifier to result of rolls]:(number to add)' '(--coin --advantage -c --throws -a --attacks -s --surfaces)--disadvantage[Roll 2d20 and take the lowest value]' '(--coin --disadvantage -c -a --throws --attacks -s --surfaces)--advantage[Roll 2d20 and take the highest value]'