aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2018-09-03 02:52:57 -0700
committerzlg <zlg@zlg.space>2018-09-03 02:55:21 -0700
commit565812a92cd22d41aa6f5f85a6b451386422fb4a (patch)
tree5858923eb443465c078040c0e8cc13739290f195 /scripts
parentFlesh out filter types and ownership status (diff)
downloadvgstash-565812a92cd22d41aa6f5f85a6b451386422fb4a.tar.gz
vgstash-565812a92cd22d41aa6f5f85a6b451386422fb4a.tar.bz2
vgstash-565812a92cd22d41aa6f5f85a6b451386422fb4a.tar.xz
vgstash-565812a92cd22d41aa6f5f85a6b451386422fb4a.zip
Branch off from master with pytest, tox, click
This commit is huge, but contains everything needed for a "proper" build system built on pytest + tox and a CLI built with click. For now, this branch will contain all new vgstash development activity until it reaches feature parity with master. The CLI is installed to pip's PATH. Only the 'init', 'add', and 'list' commands work, with only two filters. This is pre-alpha software, and is therefore not stable yet.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dupe-finder.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/scripts/dupe-finder.sh b/scripts/dupe-finder.sh
deleted file mode 100755
index 93d84c9..0000000
--- a/scripts/dupe-finder.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env bash
-
-# dupe-finder.sh: Output duplicate games in your database
-
-# Set options for improved robustness
-set -o errexit
-set -o pipefail
-set -o nounset
-
-# We're setting the envvar here to enforce the -w argument to uniq
-result=$(VGSTASH_TABLE_WIDTH=80 vgstash list | uniq -D -f 2 -w 58)
-if [[ -n $result ]]; then
- VGSTASH_TABLE_WIDTH=80 vgstash list | head -n 2
- echo "$result"
-fi