s3-resource-simple/test/out
ctro 679e8d1e3a Revert "Update docs for Docker install, Development use, and Tests"
This reverts commit 6068e23756.
Commit was placed on wrong branch.
2016-03-18 08:31:09 -06:00

21 lines
303 B
Bash
Executable file

#!/bin/sh
set -e
source=$1
if [ -z "$source" ]; then
echo "usage: $0 </full/path/to/dir/or/file>"
exit 1
fi
json=$(cat config.json)
source "$(dirname $0)/build.sh"
echo $json | docker run \
-i \
--rm \
-v $source:/tmp/input \
18fgsa/s3-resource-simple \
/opt/resource/out /tmp/input