Skip to content

Commit 3b55f2f

Browse files
committed
Use CLI confetti
1 parent 5a43cb9 commit 3b55f2f

File tree

5 files changed

+742
-4
lines changed

5 files changed

+742
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ target
55
node_modules
66
test-ledger
77
dist
8+
.tap

Anchor.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,4 @@ cluster = "localnet"
1818
wallet = "~/.config/solana/id.json"
1919

2020
[scripts]
21-
# We need '--test-reporter=spec' to get a more readable output on GitHub CI
22-
# this has no effect on local runs
23-
test = "npx tsx create-codama-client.ts; npx tsx --test --test-reporter=spec tests/*.ts"
21+
test = "npx tsx create-codama-client.ts; npx tsx --test --test-reporter=spec tests/*.ts && npx tsx confetti.ts"

confetti.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import cliConfetti from "cli-confetti";
2+
import CliUpdate from "cli-update";
3+
4+
cliConfetti({}, function (error, confetti) {
5+
if (error) throw error;
6+
CliUpdate.render(confetti);
7+
});

0 commit comments

Comments
 (0)