-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathjustfile
More file actions
47 lines (39 loc) · 1.51 KB
/
Copy pathjustfile
File metadata and controls
47 lines (39 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# See https://github.com/sablier-labs/devkit/blob/main/just/evm.just
import "./node_modules/@sablier/devkit/just/evm.just"
# Run just --list to see all available commands
default:
@just --list
# Deploy the current implementation for a separately administered existing proxy
deploy *args:
FOUNDRY_PROFILE=optimized \
forge script scripts/solidity/DeployDeterministicComptrollerImpl.s.sol \
-vvv --broadcast {{ args }}
# Deploy the exact legacy vanity proxy, initialize it, and upgrade it in one transaction
deploy-vanity *args:
FOUNDRY_PROFILE=optimized \
forge script scripts/solidity/DeployVanityComptrollerProxy.s.sol \
-vvv --broadcast {{ args }}
# Atomically deploy the current implementation and a bespoke initialized proxy
deploy-bespoke *args:
FOUNDRY_PROFILE=optimized \
forge script scripts/solidity/DeployBespokeComptrollerProxy.s.sol \
-vvv --broadcast {{ args }}
# Validate and use the configured existing proxy without broadcasting a transaction
use-existing *args:
FOUNDRY_PROFILE=optimized \
forge script scripts/solidity/ValidateExistingComptroller.s.sol \
-vvv {{ args }}
deploy-non-deterministic *args:
FOUNDRY_PROFILE=optimized \
forge script scripts/solidity/DeployComptrollerImpl.s.sol \
-vvv --broadcast {{ args }}
# Run all code checks
full-check:
just solhint-check
just fmt-check
just prettier-check
# Run all code fixes
full-write:
just solhint-write
just fmt-write
just prettier-write