mas/script/package
2017-05-26 22:35:03 -06:00

15 lines
340 B
Bash
Executable file

#!/bin/bash -e
echo "==> Moving dSYM to xcarchive"
mkdir -p mas.xcarchive/dSYMs/
mv build/mas.dSYM mas.xcarchive/dSYMs/
echo "==> Compressing mas.xcarchive"
zip -r mas.xcarchive.zip mas.xcarchive
echo "==> Compressing binary"
zip -j mas-cli.zip mas.xcarchive/Products/usr/local/bin/mas
echo -n "==> SHA256: "
shasum -a 256 mas-cli.zip