-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from golemcloud/test-instructions
Test instructions
- Loading branch information
Showing
10 changed files
with
114 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
See the documentation about installing tooling: https://learn.golem.cloud/docs/experimental-languages/js-ts/setup | ||
See the documentation about installing tooling: https://learn.golem.cloud/docs/experimental-languages/ts-language-guide/setup | ||
|
||
Compile the TypeScript project with npm: | ||
npm install | ||
npm run componentize | ||
|
||
The `out/component_name.wasm` file is ready to be uploaded to Golem Cloud! | ||
|
||
All npm run commands: | ||
- stub: generates TypeScript mappings from the wit files | ||
- build: compiles and bundles the TypeScript sources | ||
- componentize: runs stub and build, then creates the wasm file for the component | ||
- clean: "rm -rf out src/interfaces src/main.d.ts" | ||
Other available npm scripts: | ||
|
||
- Generating TypeScript mappings from the wit files: | ||
npm run stub | ||
|
||
- Compile and bundle the TypeScript sources: | ||
npm run build | ||
|
||
- Clean the project: | ||
npm run clean | ||
|
||
- Componentizing (includes stub and build steps too): | ||
npm run componentize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
See the documentation about installing tooling: https://learn.golem.cloud/docs/experimental-languages/zig/setup | ||
See the documentation about installing tooling: https://learn.golem.cloud/docs/experimental-languages/zig-langauge-guide/setup | ||
|
||
Compile the Zig code: | ||
zig build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters