diff --git a/sneedium-maker-mac.sh b/sneedium-maker-mac.sh new file mode 100644 index 0000000..bdc98ef --- /dev/null +++ b/sneedium-maker-mac.sh @@ -0,0 +1,9 @@ +y=$(date +%y) +read -p "Sneedium4Mac # of year $y (1,2,3,4...):" v +npm run make +mkdir "Sneedium $y.$v" +mv sneedium-darwin-* "Sneedium4Mac $y.$v" +tar -czvf "Sneedium4Mac $y.$v.tar.gz" "Sneedium4Mac $y.$v" +rm -rf "Sneedium $y.$v" +mkdir ~/sneedium-mac-bins +mv "Sneedium $y.$v.tar.gz" ~/sneedium-mac-bins