Skip to content

Commit b707efb

Browse files
committed
fix snapshots
1 parent 6f41df1 commit b707efb

3 files changed

Lines changed: 9 additions & 11 deletions

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# cardano-init
22

3+
[![CI](https://github.com/input-output-hk/cardano-init/actions/workflows/ci.yml/badge.svg)](https://github.com/input-output-hk/cardano-init/actions/workflows/ci.yml)
4+
[![Code Quality](https://github.com/input-output-hk/cardano-init/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/input-output-hk/cardano-init/actions/workflows/github-code-scanning/codeql)
5+
[![Scheduled Smoke](https://github.com/input-output-hk/cardano-init/actions/workflows/scheduled-smoke.yml/badge.svg)](https://github.com/input-output-hk/cardano-init/actions/workflows/scheduled-smoke.yml)
6+
37
Scaffold a complete, runnable **Cardano protocol project** in seconds. Pick a tool for each role you need (e.g., on-chain, off-chain, infrastructure, testing, formal-methods) and `cardano-init` generates a monorepo where every component is already wired together and a small end-to-end example that builds and passes its tests out of the box.
48

59
Built for newcomers and coding agents alike.
@@ -16,7 +20,7 @@ Requires a recent Rust toolchain (2024 edition). From a clone:
1620
cargo run
1721

1822
# One-shot (non-interactive)
19-
cargo run -- --name my-protocol --on-chain aiken --off-chain meshjs --nix
23+
cargo run -- --name my-protocol --on-chain aiken --off-chain meshjs --testing yaci
2024

2125
# Preview what would be generated, without writing
2226
cargo run -- --name my-protocol --on-chain aiken --dry-run

src/scaffold/snapshots/aiken_meshjs_yaci.snap

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,18 +1673,15 @@ LOG=".yaci-devnet.log"
16731673
if ! command -v yaci-devkit >/dev/null 2>&1; then
16741674
echo "• yaci-devkit not installed — running the test without a devnet (it will skip)."
16751675
echo " Install it for the full integration test:"
1676-
echo " npm install -g @bloxbean/yaci-devkit"
1676+
echo " npm install -g @bloxbean/yaci-devkit"
16771677
exec node integration.test.mjs
16781678
fi
16791679
16801680
DEVNET_PID=""
16811681
teardown() {
16821682
status=$?
16831683
echo "Tearing down the ephemeral devnet ..."
1684-
# The npm yaci-devkit CLI has no `down`/`stop` commandstopping the devnet
1685-
# means killing the process tree. Kill the launcher, then reap the components
1686-
# it spawned (yaci-store / cardano-node) which outlive the launcher PID.
1687-
# Scoped to ~/.yaci-cli so nothing else is touched.
1684+
# The npm yaci-devkit CLI has no `down`/`stop` command. killing the process tree.
16881685
if [ -n "$DEVNET_PID" ]; then kill "$DEVNET_PID" >/dev/null 2>&1 || true; fi
16891686
pkill -f "$HOME/.yaci-cli/" >/dev/null 2>&1 || true
16901687
exit "$status"

src/scaffold/snapshots/yaci_testing_only.snap

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -385,18 +385,15 @@ LOG=".yaci-devnet.log"
385385
if ! command -v yaci-devkit >/dev/null 2>&1; then
386386
echo "• yaci-devkit not installed — running the test without a devnet (it will skip)."
387387
echo " Install it for the full integration test:"
388-
echo " npm install -g @bloxbean/yaci-devkit"
388+
echo " npm install -g @bloxbean/yaci-devkit"
389389
exec node integration.test.mjs
390390
fi
391391
392392
DEVNET_PID=""
393393
teardown() {
394394
status=$?
395395
echo "Tearing down the ephemeral devnet ..."
396-
# The npm yaci-devkit CLI has no `down`/`stop` commandstopping the devnet
397-
# means killing the process tree. Kill the launcher, then reap the components
398-
# it spawned (yaci-store / cardano-node) which outlive the launcher PID.
399-
# Scoped to ~/.yaci-cli so nothing else is touched.
396+
# The npm yaci-devkit CLI has no `down`/`stop` command. killing the process tree.
400397
if [ -n "$DEVNET_PID" ]; then kill "$DEVNET_PID" >/dev/null 2>&1 || true; fi
401398
pkill -f "$HOME/.yaci-cli/" >/dev/null 2>&1 || true
402399
exit "$status"

0 commit comments

Comments
 (0)