diff --git a/README.md b/README.md index db6459a..9c495e0 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,9 @@ directly into your terminal. ## Demo! -[![asciicast](https://asciinema.org/a/dWJtrXA0HRqDJxndId9Xauz0e.svg)](https://asciinema.org/a/dWJtrXA0HRqDJxndId9Xauz0e) +![Demo image terminal](s3st.gif) + +[See demo on ASCIInema](https://asciinema.org/a/dWJtrXA0HRqDJxndId9Xauz0e) ## Rationale diff --git a/package-lock.json b/package-lock.json index e7e5c01..ac5dc75 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "s3st", - "version": "0.0.2", + "version": "0.0.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index bcaba5b..e6853b9 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,14 @@ { "name": "s3st", - "version": "0.0.2", + "version": "0.0.3", "description": "A command line utility that allows you to stream data from multiple S3 objects directly into your terminal", "main": "src/index.js", "bin": { "s3st": "src/cli.js" }, + "files": [ + "src/" + ], "engines": { "node": ">=10" }, diff --git a/s3st.gif b/s3st.gif new file mode 100644 index 0000000..19aa801 Binary files /dev/null and b/s3st.gif differ diff --git a/scripts/build.sh b/scripts/build.sh index cad3ef9..b80c518 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -2,10 +2,16 @@ VERSION=$1 V=$(echo $VERSION | tr . _) +NODE_VERSION=12.0.0 -for platform in "macos" "linux" "alpine" "win.exe" +for PLATFORM in "macos-x64" "linux-x64" "alpine-x64" "windows-x86" do - DEST="build/s3st-${V}-${platform}" - node_modules/.bin/nexe . -t macos-x64-12.0.0 -o $DEST --temp .nexe - gzip $DEST + SUFFIX=$(echo $PLATFORM | cut -d'-' -f1) + if [ "$SUFFIX" == "windows" ] + then + SUFFIX="${SUFFIX}.exe" + fi + DEST="build/s3st-${V}-${SUFFIX}" + node_modules/.bin/nexe . -t ${PLATFORM}-${NODE_VERSION} -o ${DEST} --temp .nexe + gzip ${DEST} done