Skip to content

Instantly share code, notes, and snippets.

@pierrextardif
Created August 17, 2021 10:41
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 pierrextardif/53ad38bab3161d19c2376be23520826e to your computer and use it in GitHub Desktop.
Save pierrextardif/53ad38bab3161d19c2376be23520826e to your computer and use it in GitHub Desktop.
OF script copy for VS code
#!/bin/bash
echo "** OF new projet with VS studio ** "
if [ "$#" -eq 0 ]; then
echo "Usage: $0 <emptyExample Folder path>"
exit
fi
emptyOF="$1"
cp $emptyOF/addons.make .
cp $emptyOF/config.make .
cp $emptyOF/Makefile .
cp $emptyOF/vscode_oF.code-workspace .
cp -r $emptyOF/.vscode/ .
echo " ** OF new project with VS code finished **"
echo " ** Now add the addons and run projectGenerator ."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment