forked from trusttoken/contracts-pre22
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flatten-all
executable file
·19 lines (14 loc) · 1.02 KB
/
flatten-all
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# print all commands as they execute
set -x
mkdir -p flat_contracts
truffle-flattener contracts/true-currencies/TrueUSD.sol > flat_contracts/flat_TrueUSD.sol
truffle-flattener contracts/true-currencies/TrueAUD.sol > flat_contracts/flat_TrueAUD.sol
truffle-flattener contracts/true-currencies/TrueCAD.sol > flat_contracts/flat_TrueCAD.sol
truffle-flattener contracts/true-currencies/TrueGBP.sol > flat_contracts/flat_TrueGBP.sol
truffle-flattener contracts/true-currencies/TrueHKD.sol > flat_contracts/flat_TrueHKD.sol
truffle-flattener contracts/true-currencies/TokenController.sol > flat_contracts/flat_TokenController.sol
truffle-flattener contracts/proxy/OwnedUpgradeabilityProxy.sol > flat_contracts/flat_OwnedUpgradeabilityProxy.sol
truffle-flattener contracts/proxy/OwnedUpgradeabilityProxy.sol > flat_contracts/flat_TimeOwnedUpgradeabilityProxy.sol
truffle-flattener contracts/registry/Registry.sol > flat_contracts/flat_Registry.sol
truffle-flattener contracts/trusttoken/TrustToken.sol > flat_contracts/flat_TrustToken.sol