Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cruntime package #12

Closed
wants to merge 11 commits into from
5 changes: 5 additions & 0 deletions .changeset/neat-singers-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/cruntime": minor
---

add cruntime package
5 changes: 5 additions & 0 deletions .changeset/seven-ways-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sunodo/sdk": patch
---

add squashfs-tools package
1 change: 1 addition & 0 deletions apps/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"fs-extra": "^11",
"giget": "^1.2.3",
"lookpath": "^1.2.2",
"nanotar": "^0.1.1",
"open": "^10.1.0",
"ora": "^8.0.1",
"progress-stream": "^2.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/src/baseCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export abstract class BaseCommand<T extends typeof Command> extends Command {
}

protected getContextPath(...paths: string[]): string {
return path.join(".cartesi", ...paths);
return path.join(process.cwd(), ".cartesi", ...paths);
}

protected getMachineHash(): Hash | undefined {
Expand Down
Loading
Loading