Created
April 2, 2016 14:08
-
-
Save rthor/7a5faf7d30424bda3bd90280e7fedb40 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Removing dependencies..."; | |
rm -rf $1/**/node_modules; | |
echo "Ziping..."; | |
zip -r -q $1.zip $1; | |
echo "Removing original..."; | |
rm -rf $1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment