Skip to content

Commit

Permalink
add update script
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaoboy committed Sep 17, 2024
1 parent cdca34b commit 602b40f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 47 deletions.
14 changes: 0 additions & 14 deletions ansi2-wasm/README.md

This file was deleted.

33 changes: 0 additions & 33 deletions ansi2/readme.md

This file was deleted.

8 changes: 8 additions & 0 deletions assets/update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

for i in win11 vitest
do
cat "$i.ansi" | node ../ansi2-wasm/bin/cli.js > "$i.svg"
cat "$i.ansi" | node ../ansi2-wasm/bin/cli.js --mode=light > "$i-light.svg"
cat "$i.ansi" | node ../ansi2-wasm/bin/cli.js --mode=dark > "$i-dark.svg"
done

0 comments on commit 602b40f

Please sign in to comment.