Skip to content

Commit

Permalink
Move export QUARTO_PYTHON to env_setup
Browse files Browse the repository at this point in the history
  • Loading branch information
deltamarnix committed Dec 20, 2023
1 parent 836dc71 commit b6ef3f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions env_setup.bat
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
set JULIAUP_DEPOT_PATH=%~dp0
set QUARTO_PYTHON=python
2 changes: 2 additions & 0 deletions env_setup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash
JULIAUP_DEPOT_PATH=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
export JULIAUP_DEPOT_PATH
QUARTO_PYTHON=python
export QUARTO_PYTHON
4 changes: 2 additions & 2 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ build-julia-docs = { cmd = "julia --project=docs docs/make.jl", depends_on = [
"instantiate-julia",
] }
quartodoc-build = { cmd = "quartodoc build && rm objects.json", cwd = "docs" }
quarto-preview = { cmd = "export QUARTO_PYTHON=python && quarto preview docs", depends_on = [
quarto-preview = { cmd = "quarto preview docs", depends_on = [
"quartodoc-build",
] }
quarto-check = { cmd = "quarto check all", depends_on = ["quartodoc-build"] }
quarto-render = { cmd = "julia --project=docs --eval 'using Pkg; Pkg.build(\"IJulia\")' && export QUARTO_PYTHON=python && quarto render docs --to html --execute", depends_on = [
quarto-render = { cmd = "julia --project=docs --eval 'using Pkg; Pkg.build(\"IJulia\")' && quarto render docs --to html --execute", depends_on = [
"quartodoc-build",
] }
docs = { depends_on = ["build-julia-docs", "quarto-preview"] }
Expand Down

0 comments on commit b6ef3f9

Please sign in to comment.