Fixed some stuff for linux tasks

This commit is contained in:
Profitroll 2023-01-27 10:35:19 -05:00
parent cc69506408
commit b186aea266
5 changed files with 9 additions and 6 deletions

3
.vscode/tasks.json vendored
View File

@ -57,6 +57,9 @@
"windows": {
"command": "./.vscode/tasks/windows/configure_setup.bat"
},
"linux": {
"command": "echo \"Not implemented\""
},
"problemMatcher": []
},
{

View File

@ -1,4 +1,4 @@
#!/bin/bash
python -Bc "import pathlib; [p.unlink() for p in pathlib.Path('.').rglob('*.py[co]')]"
python -Bc "import pathlib; [p.rmdir() for p in pathlib.Path('.').rglob('__pycache__')]"
python3 -Bc "import pathlib; [p.unlink() for p in pathlib.Path('.').rglob('*.py[co]')]"
python3 -Bc "import pathlib; [p.rmdir() for p in pathlib.Path('.').rglob('__pycache__')]"

View File

@ -1,7 +1,7 @@
#!/bin/bash
python -Bc "import pathlib; [p.unlink() for p in pathlib.Path('.').rglob('*.py[co]')]"
python -Bc "import pathlib; [p.rmdir() for p in pathlib.Path('.').rglob('__pycache__')]"
python3 -Bc "import pathlib; [p.unlink() for p in pathlib.Path('.').rglob('*.py[co]')]"
python3 -Bc "import pathlib; [p.rmdir() for p in pathlib.Path('.').rglob('__pycache__')]"
rm -rf build/linux/*
rm -rf build/windows/*

View File

@ -1,6 +1,6 @@
#!/bin/bash
pip install virtualenv
pip3 install virtualenv
virtualenv buildenv

View File

@ -1,6 +1,6 @@
#!/bin/bash
pip install virtualenv
pip3 install virtualenv
virtualenv venv