Skip to content

Commit

Permalink
Add the forc-crypto & forc-debug plugin packages (#138)
Browse files Browse the repository at this point in the history
closes #119

---------

Co-authored-by: Kaya Gökalp <[email protected]>
  • Loading branch information
JoshuaBatty and kayagokalp authored Jun 28, 2024
1 parent 975711c commit 9622a35
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions book/src/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ The `fuel.nix` flake provides the following packages:
| [`fuel-core-client`][fuel-core-repo] | A Fuel VM transaction client. |
| [`forc`][sway-repo] | The Fuel Orchestrator. Compiler, packaging and plugin support. |
| [`forc-client`][sway-repo] | Provides the `forc deploy` and `forc run` commands. |
| [`forc-crypto`][sway-repo] | A Forc plugin for hashing arbitrary data. |
| [`forc-debug`][sway-repo] | A Forc plugin for debugging via CLI and IDE. |
| [`forc-doc`][sway-repo] | Sway API documentation generator. |
| [`forc-explore`][sway-repo] | Runs the Fuel Explorer. |
| [`forc-fmt`][sway-repo] | The Sway code formatter. |
Expand Down
2 changes: 2 additions & 0 deletions filters.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ with pkgs.lib; [
# old unused versions.
(m: m.pname != "forc" || versionAtLeast m.version "0.19.0")
(m: m.pname != "forc-client" || versionAtLeast m.version "0.19.0")
(m: m.pname != "forc-crypto" || versionAtLeast m.version "0.48.1")
(m: m.pname != "forc-debug" || versionAtLeast m.version "0.48.1")
(m: m.pname != "forc-doc" || versionAtLeast m.version "0.29.0")
(m: m.pname != "forc-explore" || versionAtLeast m.version "0.19.0")
(m: m.pname != "forc-fmt" || versionAtLeast m.version "0.19.0")
Expand Down
10 changes: 10 additions & 0 deletions script/refresh-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ declare -A pkg_forc_client=(
[name]="forc-client"
[repo]="${fuel_repos[sway]}"
)
declare -A pkg_forc_crypto=(
[name]="forc-crypto"
[repo]="${fuel_repos[sway]}"
)
declare -A pkg_forc_debug=(
[name]="forc-debug"
[repo]="${fuel_repos[sway]}"
)
declare -A pkg_forc_doc=(
[name]="forc-doc"
[repo]="${fuel_repos[sway]}"
Expand Down Expand Up @@ -217,6 +225,8 @@ function refresh {

refresh pkg_forc
refresh pkg_forc_client
refresh pkg_forc_crypto
refresh pkg_forc_debug
refresh pkg_forc_doc
refresh pkg_forc_explore
refresh pkg_forc_fmt
Expand Down

0 comments on commit 9622a35

Please sign in to comment.