This repository was archived by the owner on Mar 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +31
-28
lines changed Expand file tree Collapse file tree 6 files changed +31
-28
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ notifications:
13
13
install :
14
14
- cargo --version
15
15
- rustup install nightly
16
+ - rustup component add clippy --toolchain nightly
16
17
- docker --version
17
18
- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
18
19
- sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main"
Original file line number Diff line number Diff line change 6
6
7
7
./do.sh update
8
8
./do.sh build memo
9
+ ./do.sh clippy memo
9
10
./do.sh doc memo
10
11
./do.sh test memo
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
- (
6
- cd " $( dirname " $0 " ) /.."
5
+ cd " $( dirname " $0 " ) /.."
7
6
8
- ./do.sh update
9
- ./do.sh build token-swap
10
- ./do.sh doc token-swap
11
- ./do.sh test token-swap
12
- cc token-swap/inc/token-swap.h -o token-swap/target/token-swap.gch
13
- )
7
+ ./do.sh update
8
+ ./do.sh build token
9
+ ./do.sh build token-swap
10
+ ./do.sh clippy token-swap
11
+ ./do.sh doc token-swap
12
+ ./do.sh test token-swap
13
+ cc token-swap/inc/token-swap.h -o token-swap/target/token-swap.gch
14
14
15
- (
16
- cd " $( dirname " $0 " ) /../token/js"
15
+ cd " token/js"
17
16
18
- npm install
19
- npm run cluster:devnet
20
- npm run start
21
- )
17
+ npm install
18
+
19
+ cd " ../../token-swap/js"
20
+
21
+ npm install
22
+ npm run cluster:devnet
23
+ npm run start
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
- (
6
- cd " $( dirname " $0 " ) /.."
5
+ cd " $( dirname " $0 " ) /.."
7
6
8
- ./do.sh update
9
- ./do.sh build token
10
- ./do.sh doc token
11
- ./do.sh test token
12
- cc token/inc/token.h -o token/target/token.gch
13
- )
7
+ ./do.sh update
8
+ ./do.sh build token
9
+ ./do.sh clippy token
10
+ ./do.sh doc token
11
+ ./do.sh test token
12
+ cc token/inc/token.h -o token/target/token.gch
14
13
15
- (
16
- cd " $( dirname " $0 " ) /../token/js"
14
+ cd " $( dirname " $0 " ) /../token/js"
17
15
18
- npm install
19
- npm run cluster:devnet
20
- npm run start
21
- )
16
+ npm install
17
+ npm run cluster:devnet
18
+ npm run start
Original file line number Diff line number Diff line change @@ -30,5 +30,6 @@ async function main() {
30
30
main ( )
31
31
. catch ( err => {
32
32
console . error ( err ) ;
33
+ process . exit ( - 1 )
33
34
} )
34
35
. then ( ( ) => process . exit ( ) ) ;
Original file line number Diff line number Diff line change @@ -47,5 +47,6 @@ async function main() {
47
47
main ( )
48
48
. catch ( err => {
49
49
console . error ( err ) ;
50
+ process . exit ( - 1 )
50
51
} )
51
52
. then ( ( ) => process . exit ( ) ) ;
You can’t perform that action at this time.
0 commit comments