forked from trusttoken/contracts-pre22
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flatten-all
executable file
·18 lines (16 loc) · 1.15 KB
/
flatten-all
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
# print all commands as they execute
set -x
mkdir -p flat_contracts
truffle-flattener contracts/TrueUSD.sol > flat_contracts/flat_tusd.sol
truffle-flattener contracts/TrueAUD.sol > flat_contracts/flat_taud.sol
truffle-flattener contracts/TrueCAD.sol > flat_contracts/flat_tcad.sol
truffle-flattener contracts/TrueGBP.sol > flat_contracts/flat_tgbp.sol
truffle-flattener registry/contracts/Registry.sol > flat_contracts/flat_Registry.sol
truffle-flattener registry/contracts/ProvisionalRegistry.sol > flat_contracts/flat_ProvisionalRegistry.sol
truffle-flattener contracts/Proxy/OwnedUpgradeabilityProxy.sol > flat_contracts/flat_OwnedUpgradeableProxy.sol
truffle-flattener contracts/Admin/TokenController.sol > flat_contracts/flat_TokenController.sol
truffle-flattener contracts/utilities/UpgradeHelper.sol > flat_contracts/flat_UpgradeHelper.sol
truffle-flattener contracts/utilities/DepositAddressRegistrar.sol > flat_contracts/flat_depositAddressRegistrar.sol
truffle-flattener contracts/utilities/PausedCurrencies.sol > flat_contracts/flat_pausedTrueCurrencies.sol
truffle-flattener contracts/ProvisionalTrueUSD.sol > flat_contracts/flat_ProvisionalTrueUSD.sol