mirror of
https://gitlab.com/EternalWanderer/dice-roller.git
synced 2024-11-29 05:13:50 +01:00
Cleanup
This commit is contained in:
parent
895b6a3646
commit
4d0ab352aa
6
APKBUILD
6
APKBUILD
|
@ -2,7 +2,7 @@
|
||||||
# Maintainer: Marty Sluijtman <marty.wanderer@disroot.org>
|
# Maintainer: Marty Sluijtman <marty.wanderer@disroot.org>
|
||||||
pkgname=dice-roller
|
pkgname=dice-roller
|
||||||
pkgver=0.3
|
pkgver=0.3
|
||||||
pkgrel=7
|
pkgrel=9
|
||||||
pkgdesc="A little D&D dice roller written in go"
|
pkgdesc="A little D&D dice roller written in go"
|
||||||
url="https://gitlab.com/EternalWanderer/dice-roller"
|
url="https://gitlab.com/EternalWanderer/dice-roller"
|
||||||
arch="all"
|
arch="all"
|
||||||
|
@ -25,6 +25,6 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
fae8ab37cf7e4557c01f2b1c8d42d336e27fc2a2004ad16041dea97ea6ae1fa9ff9fcc69a25d087c790f86d6a82d66a34544a1041aa442f5f45fc5323d04000d dice-roller-0.3.tar.gz
|
3b602f2f100e0a78db7bfdfb7a93249b602ee535dd83ed30d9a7121e79ff8fb83125d27ad468129685fe37e5978d933bf36100734cc6d8b2ad44bc136d95e7a6 dice-roller-0.3.tar.gz
|
||||||
d9cc5ea1c0473a33bd74b45bd30d10ef2948ea7a5769c4860de19cb48a2e48840be8827fde04c5284ac917d0f6ece62cc6c1c01f181fbecb27328462479c5954 zsh.completion
|
0c25eb007d89a5c95c8f5c2924ca8f556e23ab53412b0186add03c8a3104c544c3ef8dbc6d3483bbaf04dfbd071cde5ebfc3ae5bf6d427152197376f7052d7f8 zsh.completion
|
||||||
"
|
"
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -7,7 +7,7 @@ SRC = main.go go.mod
|
||||||
all: dice-roller
|
all: dice-roller
|
||||||
|
|
||||||
dice-roller:
|
dice-roller:
|
||||||
go build -o dice-roller
|
go build -o dice-roller -trimpath
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f dice-roller dice-roller-$(VERSION).tar.gz
|
rm -f dice-roller dice-roller-$(VERSION).tar.gz
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
#compdef dice dice-roller
|
#compdef dice dice-roller
|
||||||
|
|
||||||
arguments=(
|
arguments=(
|
||||||
'(--coin --advantage --disadvantage --attacks)-a=[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 -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 --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 -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 --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 -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 --modifier)-m[Add modifier to result of rolls]:(number to add)'
|
||||||
'(--coin -m)--modifier=[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 --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]'
|
'(--coin --disadvantage -c -a --throws --attacks -s --surfaces)--advantage[Roll 2d20 and take the highest value]'
|
||||||
|
|
Loading…
Reference in a new issue