More error checking, new package and version bump

This commit is contained in:
Nox Sluijtman 2022-08-27 22:57:07 +02:00
parent cd7b6c39b2
commit d17f9d316e
2 changed files with 4 additions and 3 deletions

View file

@ -1,8 +1,8 @@
# Contributor: Marty Sluijtman <marty.wanderer@disroot.org> # Contributor: Marty Sluijtman <marty.wanderer@disroot.org>
# Maintainer: Marty Sluijtman <marty.wanderer@disroot.org> # Maintainer: Marty Sluijtman <marty.wanderer@disroot.org>
pkgname=sheet-parser pkgname=sheet-parser
pkgver=0.2 pkgver=0.3
pkgrel=4 pkgrel=0
pkgdesc="A little D&D character sheet parser written in go" pkgdesc="A little D&D character sheet parser written in go"
url="https://gitlab.com/EternalWanderer/sheet-parser" url="https://gitlab.com/EternalWanderer/sheet-parser"
arch="all" arch="all"
@ -28,7 +28,7 @@ package() {
} }
sha512sums=" sha512sums="
3cc84508f6f35b36f27202655ecc574985f82889ae9d648468837e1c25127f911f3e332185e0fe64d9770ace92455244db24922cde2610f8a86a2a4c93943db7 sheet-parser-0.2.tar.gz 599f68d83ae73441c8d57fb77a81df16ed82cf57e8d43f488818281cf52648b881038410d2d8ebc59e3f79636b9b107d92c8a7f95742cbff0ad3b520d7545a21 sheet-parser-0.2.tar.gz
c1800a72d8d229d46a7ea2dffb83f97c7edaf773a9a875a2ae10b449ae84ab854b80eac05a62002f6a686bb8b014c9b1bc8e2359286b2edccda4d90227a473e5 zsh.completion c1800a72d8d229d46a7ea2dffb83f97c7edaf773a9a875a2ae10b449ae84ab854b80eac05a62002f6a686bb8b014c9b1bc8e2359286b2edccda4d90227a473e5 zsh.completion
ab6b9e0f9b1532c0e14e8995c2c77851d449d019edd675c6c6474b8f230c3b9547c36ebc7eeb318f7ec2a695d07c009e3df35a9984fc4570d71181aa730d6852 example.json ab6b9e0f9b1532c0e14e8995c2c77851d449d019edd675c6c6474b8f230c3b9547c36ebc7eeb318f7ec2a695d07c009e3df35a9984fc4570d71181aa730d6852 example.json
" "

View file

@ -47,6 +47,7 @@ func parseFlags() {
func isError(err error) bool { func isError(err error) bool {
if err != nil { if err != nil {
fmt.Println(err.Error()) fmt.Println(err.Error())
os.Exit(1)
} }
return (err != nil) return (err != nil)
} }