-
Notifications
You must be signed in to change notification settings - Fork 10
/
Makefile
50 lines (39 loc) · 1.91 KB
/
Makefile
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
48
49
50
run:
cd starport_template && fvm flutter run
install-cosmos-ui-components:
$(info Running flutter pub upgrade on `cosmos_ui_components`)
cd packages/cosmos_ui_components && fvm install && fvm flutter pub upgrade
install-cosmos-utils:
$(info Running flutter pub upgrade on `cosmos_utils`)
cd packages/cosmos_utils && fvm install && fvm flutter pub upgrade
install-cosmos-auth:
$(info Running flutter pub upgrade on `cosmos_auth`)
cd packages/cosmos_auth && fvm install && fvm flutter pub upgrade
install-cosmos-node-client:
$(info Running flutter pub upgrade on `cosmos_node_client`)
cd packages/cosmos_node_client && fvm install && fvm flutter pub upgrade
install-cosmos-lint:
$(info Running flutter pub upgrade on `cosmos_lint`)
cd packages/cosmos_lint && fvm install && fvm flutter pub upgrade
install-transaction-signing-gateway:
$(info Running flutter pub upgrade on `transaction_signing_gateway`)
cd packages/transaction_signing_gateway && fvm install && fvm flutter pub upgrade
install-starport-template:
$(info Running flutter pub upgrade on `transaction_signing_gateway`)
cd starport_template && fvm install && fvm flutter pub upgrade
# Ensures proper flutter channel is in use, runs pub upgrade.
install:
$(MAKE) install-cosmos-auth
$(MAKE) install-cosmos-lint
$(MAKE) install-cosmos-ui-components
$(MAKE) install-cosmos-utils
$(MAKE) install-cosmos-node-client
$(MAKE) install-transaction-signing-gateway
$(MAKE) install-starport-template
$(info Done)
fix-lint:
$(info Running flutter format)
fvm flutter format --line-length 120 --set-exit-if-changed starport_template/lib starport_template/test
run-starport-template:
$(info Running starport_template using testnet.cosmos.network)
cd starport_template && fvm flutter run --dart-define=LCD_URL=https://api.testnet.cosmos.network --dart-define=LCD_PORT=443 --dart-define=GRPC_URL=https://grpc.testnet.cosmos.network --dart-define=GRPC_PORT=443