mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-02 11:54:27 +02:00
build: more gitpod-related fixes
This commit is contained in:
@@ -37,7 +37,6 @@ vscode:
|
|||||||
- hbenl.vscode-test-explorer
|
- hbenl.vscode-test-explorer
|
||||||
- matepek.vscode-catch2-test-adapter
|
- matepek.vscode-catch2-test-adapter
|
||||||
- redhat.vscode-yaml
|
- redhat.vscode-yaml
|
||||||
- ritwickdey.liveserver
|
|
||||||
- ms-python.python
|
- ms-python.python
|
||||||
|
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
@@ -85,8 +84,10 @@ tasks:
|
|||||||
exit
|
exit
|
||||||
- name: install python packages
|
- name: install python packages
|
||||||
before: |
|
before: |
|
||||||
|
python -m venv ${PYTHON_VENV}
|
||||||
source ${PYTHON_VENV}/bin/activate
|
source ${PYTHON_VENV}/bin/activate
|
||||||
pip install -Ur requirements.txt
|
pip install -Ur requirements.txt
|
||||||
|
conan profile detect
|
||||||
conan config install $PWD/.gitpod/conan
|
conan config install $PWD/.gitpod/conan
|
||||||
gp sync-done python-init
|
gp sync-done python-init
|
||||||
exit
|
exit
|
||||||
@@ -122,5 +123,5 @@ tasks:
|
|||||||
init: |
|
init: |
|
||||||
gp sync-await python-init
|
gp sync-await python-init
|
||||||
source ${PYTHON_VENV}/bin/activate
|
source ${PYTHON_VENV}/bin/activate
|
||||||
mkdocs serve
|
mkdocs serve &
|
||||||
echo "📚 Documentation generation done! You can open it by clicking on 'Go Live' in the VSCode status bar. 📚"
|
echo "📚 Documentation generation done! You can open it by clicking on 'Open Preview' or 'Open Browser' in the VSCode dialog window. 📚"
|
||||||
|
@@ -8,3 +8,12 @@ RUN lsb_rel=`lsb_release -cs` && \
|
|||||||
RUN sudo install-packages \
|
RUN sudo install-packages \
|
||||||
g++-12 \
|
g++-12 \
|
||||||
clang-16
|
clang-16
|
||||||
|
|
||||||
|
# Install mkdocs dependencies
|
||||||
|
RUN sudo install-packages \
|
||||||
|
libcairo2-dev \
|
||||||
|
libfreetype6-dev \
|
||||||
|
libffi-dev \
|
||||||
|
libjpeg-dev \
|
||||||
|
libpng-dev \
|
||||||
|
libz-dev
|
||||||
|
Reference in New Issue
Block a user