forked from radixdlt/radixdlt-scrypto
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathformat.sh
More file actions
executable file
·29 lines (24 loc) · 759 Bytes
/
format.sh
File metadata and controls
executable file
·29 lines (24 loc) · 759 Bytes
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
#!/bin/bash
set -x
set -e
cd "$(dirname "$0")"
(cd sbor; cargo fmt)
(cd sbor-derive; cargo fmt)
(cd sbor-tests; cargo fmt)
(cd scrypto; cargo fmt)
(cd scrypto-abi; cargo fmt)
(cd scrypto-derive; cargo fmt)
(cd scrypto-tests; cargo fmt)
(cd radix-engine; cargo fmt)
(cd simulator; cargo fmt)
(cd transaction-manifest; cargo fmt)
(cd assets/account; scrypto fmt)
(cd assets/system; scrypto fmt)
(cd examples/core/cross-blueprint-call; scrypto fmt)
(cd examples/core/flat-admin; scrypto fmt)
(cd examples/core/gumball-machine; scrypto fmt)
(cd examples/core/hello-nft; scrypto fmt)
(cd examples/core/hello-world; scrypto fmt)
(cd examples/core/managed-access; scrypto fmt)
(cd examples/core/no-std-lib; scrypto fmt)
echo "All packages have been formatted."