Skip to content

Commit

Permalink
Removed remaining .ps1 references from doc in multi_plateform_configu… (
Browse files Browse the repository at this point in the history
#643)

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!
  • Loading branch information
bahugo authored Jan 10, 2024
1 parent 411baa9 commit c273f4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/advanced/multi_platform_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand All @@ -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`

0 comments on commit c273f4c

Please sign in to comment.