-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add further snippets with new infrastructure (#3297)
Co-authored-by: Peter Smith <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: chad <[email protected]> Co-authored-by: Daniel Bate <[email protected]> Co-authored-by: Peter Smith <[email protected]> Co-authored-by: Anderson Arboleya <[email protected]> Co-authored-by: Sérgio Torres <[email protected]> Co-authored-by: Nedim Salkić <[email protected]>
- Loading branch information
1 parent
5ca1d8e
commit 64598d6
Showing
56 changed files
with
1,110 additions
and
1,065 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"fuels": patch | ||
--- | ||
|
||
docs: add further snippets with new infrastructure |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
.fuels/ |
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,17 +1,14 @@ | ||
# Kill anything running on port 4000 | ||
lsof -t -i:4000 | xargs -r kill | ||
|
||
# Runs a node at port 4000 | ||
pnpm fuels node > /dev/null 2>&1 & | ||
# Check if node is already running at port 4000, if not start it | ||
# TODO: This is a temporary solution to avoid conflicts with the test node in docs-snippets2 | ||
if ! lsof -t -i:4000 > /dev/null; then | ||
pnpm fuels node > /dev/null 2>&1 & | ||
fi | ||
|
||
# Builds projects | ||
pnpm fuels build | ||
|
||
# Deploys projects (needed for loader bytecode) | ||
pnpm fuels deploy | ||
|
||
# Kills the node | ||
lsof -t -i:4000 | xargs -r kill | ||
|
||
# Checks for type errors | ||
pnpm tsc --noEmit |
62 changes: 0 additions & 62 deletions
62
apps/docs-snippets/src/guide/create-fuels/decrement_counter.test.ts
This file was deleted.
Oops, something went wrong.
118 changes: 0 additions & 118 deletions
118
apps/docs-snippets/src/guide/encoding/encode-and-decode.test.ts
This file was deleted.
Oops, something went wrong.
160 changes: 0 additions & 160 deletions
160
apps/docs-snippets/src/guide/encoding/working-with-bytes.test.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.