diff --git a/backups/.gitignore b/backups/.gitignore index c18dd8d..205abbb 100644 --- a/backups/.gitignore +++ b/backups/.gitignore @@ -1 +1,2 @@ __pycache__/ +backup_tool diff --git a/backups/install.sh b/backups/install.sh index c759087..d846c29 100755 --- a/backups/install.sh +++ b/backups/install.sh @@ -1,9 +1,7 @@ #!/usr/bin/env sh # Zip app -(cd app && zip -r ../app.zip *) - -pwd +(cd app && zip -r ../app.zip * -x "__pycache__/*" "**/__pycache__/*" ".vim/*" "**/.vim/*") # Add shebang to top of file echo "#!/usr/bin/env python3" | cat - app.zip > backup_tool