trixi-framework / Trixi.jl

Trixi.jl: Adaptive high-order numerical simulations of conservation laws in Julia
https://trixi-framework.github.io/Trixi.jl
MIT License
538 stars 109 forks source link

Installation instructions for developers on Windows #2065

Open benegee opened 1 month ago

benegee commented 1 month ago

Following the installation instructions for developers (https://github.com/trixi-framework/Trixi.jl?tab=readme-ov-file#for-developers) did not work on Windows 11 in powershell.

ERROR: UndefVarError: `..` not defined

We had to escape the quotes, i.e. julia --project=. -e 'using Pkg; Pkg.develop(PackageSpec(path=\"..\"))' worked. Could we use another easy expression here, which works on all platforms? Something like e.g. dirname(pwd())?

@s6nistam

ranocha commented 1 month ago

Sounds good to me. Could you please make a PR and search for similar patterns in the docs?

sloede commented 1 month ago

Can you maybe cross check with the 0th tutorial that also includes Windows instructions? Maybe they have another approach there or maybe it also needs fixing.