Skip to content

Instantly share code, notes, and snippets.

@Dragod
Created May 2, 2019 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dragod/695c524358a96c6ba6d1d157707b50ed to your computer and use it in GitHub Desktop.
Save Dragod/695c524358a96c6ba6d1d157707b50ed to your computer and use it in GitHub Desktop.
Copy and paste sdcore.min.js from dist folder to sd-unity-4-0/sdcore folder
#!/bin/bash
# Copy and paste sdcore.min.js from dist folder to sd-unity-4-0/sdcore folder
function copyjs()
{
cd C:/gitrepos/sdcore/dist
for f in *.js
do
cp -v "$f" C:/gitrepos/sd-unity-4-0/sdcore/${f%.js}.js
done
printf "\nsdcore.min.js copied to 'C:/gitrepos/sd-unity-4-0/sdcore' folder\n\n"
printf "Done.\n"
}
copyjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment