diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-12-06 23:03:44 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-12-07 09:41:16 -0700 |
commit | 13f08e9d36de02c54283993d2bd035adf13f0411 (patch) | |
tree | 8270a1dfe4916b9e70e173f4b2957d86e56e9e12 /scripts/debian | |
parent | e27b9fcc8e89e847a4c7f7f6a80cc15e991dd260 (diff) | |
download | dotfiles-13f08e9d36de02c54283993d2bd035adf13f0411.tar.gz |
bin/: some straightforward tidying up
Diffstat (limited to 'scripts/debian')
-rwxr-xr-x | scripts/debian/test-package-plan | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/debian/test-package-plan b/scripts/debian/test-package-plan new file mode 100755 index 00000000..47d6b232 --- /dev/null +++ b/scripts/debian/test-package-plan @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +find $HOME/.cabal/packages/hackage.haskell.org/01-index.tar \ + -newermt '4 hours ago' \ + | xargs test -z && cabal --no-require-sandbox update + +schroot -c haskell -d $HOME -- /bin/sh -c \ + "cd src/package-plan && perl test-packages.pl" |