We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9633b0c commit ec889b9Copy full SHA for ec889b9
template/.devcontainer/postCreateCommand.ps1.jinja
@@ -0,0 +1,14 @@
1
+# This script is for Windows native development (outside of devcontainer)
2
+{% if python %}
3
+# Install uv
4
+Invoke-RestMethod https://astral.sh/uv/install.ps1 | Invoke-Expression
5
+
6
+# Install Dependencies
7
+uv sync --group dev
8
9
+# Install prek pre-commit hooks
10
+Invoke-RestMethod https://github.com/j178/prek/releases/download/v0.2.2/prek-installer.ps1 | Invoke-Expression
11
12
+# Install pre-commit hooks
13
+prek install --install-hooks
14
+{% endif %}
template/.devcontainer/postCreateCommand.sh.jinja
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
+# This script is for Linux/macOS and devcontainer usage
{% if python %}
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
0 commit comments