UNPKG
@panukresko/easy-foundryup
Version:
latest (0.3.1)
0.3.1
0.3.0
0.2.1
0.2.0
Install and manage foundryup
github.com/foundry-rs/hardhat
foundry-rs/hardhat
@panukresko/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
); } })();