UNPKG
@foundry-rs/easy-foundryup
Version:
latest (0.1.3)
0.1.3
0.1.2
Install and manage foundryup
github.com/foundry-rs/hardhat
foundry-rs/hardhat
@foundry-rs/easy-foundryup
/
src
/
foundryup.ts
15 lines
(12 loc)
•
272 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env node
"use strict"
;
import
{ run }
from
"./index"
;
void
(
async
() => {
const
success =
await
run
();
if
(success) {
console
.
log
(
"successfully setup foundryup"
); }
else
{
console
.
log
(
"failed to setup foundryup"
); process.
exit
(
1
); } })();