Skip to content

Commit

Permalink
finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw committed Jun 7, 2024
1 parent 435ea7a commit 1de909d
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 7 deletions.
Binary file added .github/assets/demo/demo-dark.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/assets/demo/demo-dark.mp4
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
Output .github/assets/demo/demo.mp4
Output .github/assets/demo/demo.gif
Require pixi-pack
Output .github/assets/demo/demo-dark.mp4
Output .github/assets/demo/demo-dark.gif

Set Theme "rose-pine-moon"
Set Shell "bash"
Set FontSize 32
Set Width 1920
Set Height 1080

Hide
# Type "pushd examples/simple-python" Enter
Type "export PATH=$(pwd)/target/debug:$PATH" Enter
Type "pushd examples/simple-python" Enter
Type "rm -rf env/ environment.tar activate.*" Enter
Type "clear" Enter
Show
Expand All @@ -32,4 +33,4 @@ Type@200ms "source activate.sh" Sleep 1s Enter
Sleep 3s

Type@200ms "which python" Sleep 1s Enter
Sleep 5s
Sleep 10s
Binary file added .github/assets/demo/demo-light.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/assets/demo/demo-light.mp4
Binary file not shown.
36 changes: 36 additions & 0 deletions .github/assets/demo/demo-light.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Output .github/assets/demo/demo-light.mp4
Output .github/assets/demo/demo-light.gif

Set Theme "rose-pine-dawn"
Set Shell "bash"
Set FontSize 32
Set Width 1920
Set Height 1080

Hide
Type "export PATH=$(pwd)/target/debug:$PATH" Enter
Type "pushd examples/simple-python" Enter
Type "rm -rf env/ environment.tar activate.*" Enter
Type "clear" Enter
Show

Type@200ms "ls" Sleep 1s Enter
Sleep 3s

Type@200ms "pixi-pack pack" Sleep 1s Enter
Sleep 5s

Type "ls" Sleep 1s Enter
Sleep 3s

Type@200ms "pixi-pack unpack environment.tar" Sleep 1s Enter
Sleep 3s

Type@200ms "ls" Sleep 1s Enter
Sleep 4s

Type@200ms "source activate.sh" Sleep 1s Enter
Sleep 3s

Type@200ms "which python" Sleep 1s Enter
Sleep 10s
Binary file removed .github/assets/demo/demo.gif
Binary file not shown.
Binary file removed .github/assets/demo/demo.mp4
Binary file not shown.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@

</div>

![pixi-pack demo](https://github.com/Quantco/pixi-pack/assets/29506042/d8961960-b403-47b0-8ede-0d711ed3a0b4)
![pixi-pack demo](.github/assets/demo/demo-light.gif#gh-light-mode-only)
![pixi-pack demo](.github/assets/demo/demo-dark.gif#gh-dark-mode-only)

## 🗂 Table of Contents

Expand Down
2 changes: 1 addition & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ micromamba = "*"
# [feature.demo.dependencies]
# vhs = "*"
# [feature.demo.tasks]
# demo = "vhs .github/assets/demo/demo.tape"
# demo = "vhs .github/assets/demo/demo-light.tape && vhs .github/assets/demo/demo-dark.tape"

[feature.lint.dependencies]
pre-commit = "*"
Expand Down

0 comments on commit 1de909d

Please sign in to comment.