From c273f4cf08f3fbd46a667a296820a9b60777b4a4 Mon Sep 17 00:00:00 2001 From: bahugo <74469417+bahugo@users.noreply.github.com> Date: Wed, 10 Jan 2024 10:40:34 +0100 Subject: [PATCH] =?UTF-8?q?Removed=20remaining=20.ps1=20references=20from?= =?UTF-8?q?=20doc=20in=20multi=5Fplateform=5Fconfigu=E2=80=A6=20(#643)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In 0.11.0 pixi version basic usage documentation was updated to remove .ps1 files from activation section, but there were still some references in multi platform documentation. I just removed those. Btw: pixi is great! --- docs/advanced/multi_platform_configuration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/advanced/multi_platform_configuration.md b/docs/advanced/multi_platform_configuration.md index e23459fc5..6a8f93305 100644 --- a/docs/advanced/multi_platform_configuration.md +++ b/docs/advanced/multi_platform_configuration.md @@ -28,7 +28,7 @@ scripts = ["setup.sh"] [target.win-64.activation] # Overwrite activation scripts only for windows -scripts = ["setup.ps1"] +scripts = ["setup.bat"] ``` ## Platform definition @@ -101,7 +101,7 @@ clang = "16.0.6.*" ### Activation Pixi's vision is to enable completely cross-platform projects, but you often need to run tools that are not built by your projects. -Generated activation scripts are often in this category, default scripts in unix are `bash` and for windows they are `bat` or `ps1` +Generated activation scripts are often in this category, default scripts in unix are `bash` and for windows they are `bat` To deal with this, you can define your activation scripts using the target definition. @@ -110,6 +110,6 @@ To deal with this, you can define your activation scripts using the target defin scripts = ["setup.sh", "local_setup.bash"] [target.win-64.activation] -scripts = ["setup.ps1", "setup.bat", "local_setup.bat"] +scripts = ["setup.bat", "local_setup.bat"] ``` When this project is run on `win-64` it will only execute the target scripts not the scripts specified in the default `activation.scripts`