Added packaging script
Update .gitignore and package-for-release.cmd
This commit is contained in:
31
scripts/package-for-release.cmd
Normal file
31
scripts/package-for-release.cmd
Normal file
@@ -0,0 +1,31 @@
|
||||
@echo off
|
||||
|
||||
pushd %CD%
|
||||
|
||||
:: Going into the project's directory
|
||||
cd /D "%~dp0"
|
||||
call delete-pycache.cmd
|
||||
cd ..
|
||||
|
||||
echo.
|
||||
echo Creating Release Package
|
||||
echo ------------------------
|
||||
|
||||
echo %CD%
|
||||
|
||||
del release.tar 2> nul
|
||||
|
||||
7z a "release.tar" ^
|
||||
-xr!*.pdn ^
|
||||
-xr!*.ai ^
|
||||
data/ ^
|
||||
static/ ^
|
||||
templates/ ^
|
||||
website/ ^
|
||||
.dockerignore ^
|
||||
.env ^
|
||||
app.py ^
|
||||
Dockerfile ^
|
||||
requirements.txt
|
||||
|
||||
popd
|
Reference in New Issue
Block a user