Skip to content
Snippets Groups Projects
Commit 7320e22d authored by mehtank's avatar mehtank
Browse files

Delete unnecessary scripts directory; push new repo

parent 3aa2d970
No related merge requests found
...@@ -18,6 +18,7 @@ git clone -o template https://git.uclalemur.com/mehtank/roco-template.git $NAME ...@@ -18,6 +18,7 @@ git clone -o template https://git.uclalemur.com/mehtank/roco-template.git $NAME
cd $NAME cd $NAME
git config --unset branch.main.remote git config --unset branch.main.remote
git remote add origin $URL git remote add origin $URL
git rm -r scripts
git mv plugin $NAME git mv plugin $NAME
sed -i "s/pkg_path = \"plugin\"/pkg_path = '$NAME'/" setup.py sed -i "s/pkg_path = \"plugin\"/pkg_path = '$NAME'/" setup.py
cd $NAME cd $NAME
...@@ -25,4 +26,4 @@ sed -i "s/__plugin_name__ = 'template'/__plugin_name__ = '$NAME'/" __init__.py ...@@ -25,4 +26,4 @@ sed -i "s/__plugin_name__ = 'template'/__plugin_name__ = '$NAME'/" __init__.py
sed -i "s#__url__ = 'https://git.uclalemur.com/roco/roco-template'#__url__ = '$URL'#" __init__.py sed -i "s#__url__ = 'https://git.uclalemur.com/roco/roco-template'#__url__ = '$URL'#" __init__.py
vim __init__.py vim __init__.py
git commit -am "Configured template for $NAME plugin" git commit -am "Configured template for $NAME plugin"
git push --set-upstream origin main
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment