DetVape commited on
Commit
890a3f6
·
verified ·
1 Parent(s): 324427d

Sync from GitHub via hub-sync (part 2)

Browse files
skillforge/memory/tools-registry.json CHANGED
@@ -52,7 +52,7 @@
52
  "name": "echidna",
53
  "repo": "crytic/echidna",
54
  "lang": "haskell-binary",
55
- "install": "mkdir -p $HOME/.local/bin; TAG=$(curl -s https://api.github.com/repos/crytic/echidna/releases/latest|grep tag_name|cut -d'\"' -f4); VER=${TAG#v}; curl -fsSL https://github.com/crytic/echidna/releases/download/${TAG}/echidna-${VER}-x86_64-linux.tar.gz | tar xz -C $HOME/.local/bin",
56
  "invoke": "echidna <contract.sol> --contract <C> --test-mode property",
57
  "version_cmd": "echidna --version",
58
  "wrapper": "tools/fuzzing/echidna.sh",
@@ -66,7 +66,7 @@
66
  "name": "foundry",
67
  "repo": "foundry-rs/foundry",
68
  "lang": "rust-binary",
69
- "install": "mkdir -p $HOME/.local/bin; TAG=$(curl -s https://api.github.com/repos/foundry-rs/foundry/releases/latest|grep tag_name|cut -d'\"' -f4); curl -fsSL https://github.com/foundry-rs/foundry/releases/download/${TAG}/foundry_${TAG}_linux_amd64.tar.gz | tar xz -C $HOME/.local/bin",
70
  "invoke": "forge test --fuzz-runs 1024",
71
  "version_cmd": "forge --version",
72
  "wrapper": "tools/fuzzing/foundry.sh",
@@ -223,4 +223,4 @@
223
  }
224
  ]
225
  }
226
- }
 
52
  "name": "echidna",
53
  "repo": "crytic/echidna",
54
  "lang": "haskell-binary",
55
+ "install": "mkdir -p $HOME/.local/bin; AUTH_HDR=\"\"; if [ -n \"$GITHUB_TOKEN\" ]; then AUTH_HDR=\"Authorization: token $GITHUB_TOKEN\"; fi; TAG=$(curl -s -H \"$AUTH_HDR\" https://api.github.com/repos/crytic/echidna/releases/latest|grep tag_name|cut -d'\"' -f4); VER=${TAG#v}; curl -fsSL https://github.com/crytic/echidna/releases/download/${TAG}/echidna-${VER}-x86_64-linux.tar.gz | tar xz -C $HOME/.local/bin",
56
  "invoke": "echidna <contract.sol> --contract <C> --test-mode property",
57
  "version_cmd": "echidna --version",
58
  "wrapper": "tools/fuzzing/echidna.sh",
 
66
  "name": "foundry",
67
  "repo": "foundry-rs/foundry",
68
  "lang": "rust-binary",
69
+ "install": "mkdir -p $HOME/.local/bin; AUTH_HDR=\"\"; if [ -n \"$GITHUB_TOKEN\" ]; then AUTH_HDR=\"Authorization: token $GITHUB_TOKEN\"; fi; TAG=$(curl -s -H \"$AUTH_HDR\" https://api.github.com/repos/foundry-rs/foundry/releases/latest|grep tag_name|cut -d'\"' -f4); curl -fsSL https://github.com/foundry-rs/foundry/releases/download/${TAG}/foundry_${TAG}_linux_amd64.tar.gz | tar xz -C $HOME/.local/bin",
70
  "invoke": "forge test --fuzz-runs 1024",
71
  "version_cmd": "forge --version",
72
  "wrapper": "tools/fuzzing/foundry.sh",
 
223
  }
224
  ]
225
  }
226
+ }