{ "version": "2.0.0", "tasks": [ { "label": "unpackEnv", "type": "shell", "windows": { "command": "powershell", "args": [ "-c", "if(Test-Path .venv.7z) { .vscode/7za.exe x .venv.7z; .vscode/7za.exe x .pypy3.7z; rm .venv.7z; rm .pypy3.7z; ./.python/install/python.exe -m venv .venv }" ] }, "linux": { "command": "if [ -f venv.tar.bz2 ]; then tar xvf venv.tar.bz2 && tar xvf pypy3.tar.bz2 && rm pypy3.tar.bz2 && rm venv.tar.bz2; fi" } // "osx": { // "command": "bash", // "args": [ // "-c", // "'make clean'" // ] // } }, { "label": "generateClasses", "type": "shell", "linux": { "command": "if [ -f venv.tar.bz2 ]; then tar xvf venv.tar.bz2 && tar xvf pypy3.tar.bz2 && rm pypy3.tar.bz2 && rm venv.tar.bz2; fi && ./.venv/bin/python3 -m hyper_etable.runpy genclass main.xlsx && echo 'DONE' && echo 'To open classes CTRL-click here: xlsx_to_py/classes.py'" }, "windows": { "command": "powershell", "args": [ "-c", "if(Test-Path .venv.7z) { .vscode/7za.exe x .venv.7z; .vscode/7za.exe x .pypy3.7z; rm .venv.7z; rm .pypy3.7z; ./.python/install/python.exe -m venv .venv }; ./.venv/bin/python -m hyper_etable.runpy genclass main.xlsx ; echo 'DONE' ; echo 'To open classes CTRL-click here: xlsx_to_py/classes.py'" ] } }, { "label": "openInputFileEdit", "type": "shell", "windows": { "command": "powershell", "args": [ "-c", "start main.xlsx" ] }, "linux": { "command": "xdg-open main.xlsx" } } ] }