Skip to content

Commit 0003dbb

Browse files
committed
node build
1 parent 0d4d8ce commit 0003dbb

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ release/
77
*.dot
88
*.log
99
*.ign
10+
/pushchaind

Makefile

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,21 @@ govulncheck:
106106
@go install golang.org/x/vuln/cmd/govulncheck@latest
107107
@govulncheck ./...
108108

109-
.PHONY: govet govulncheck
109+
.PHONY: govet govulncheck
110+
111+
TARGET ?= darwin:arm64
112+
113+
build-release:
114+
@echo "Building for ios arm64"
115+
rm -rf release
116+
rm pushchaind
117+
ignite chain build \
118+
--release.targets $(TARGET) \
119+
--output ./release \
120+
--release
121+
122+
unzip-build:
123+
@echo "Unzipping build"
124+
tar xzf ./release/push_$(subst :,_,$(TARGET)).tar.gz
125+
126+
build-node: build-ios-release unzip-build

docs/static/openapi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"id":"push","consumes":["application/json"],"produces":["application/json"],"swagger":"2.0","info":{"description":"Chain push REST API","title":"HTTP API Console","contact":{"name":"push"},"version":"version not set"},"paths":{"/push.push.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the module\r\nparameters. The authority defaults to the x/gov module account.","operationId":"PushMsg_UpdateParams","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/push.push.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/push.push.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}}},"definitions":{"google.protobuf.Any":{"type":"object","properties":{"@type":{"type":"string"}},"additionalProperties":{}},"google.rpc.Status":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"details":{"type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"message":{"type":"string"}}},"push.push.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the module parameters to update.\r\n\r\nNOTE: All parameters must be supplied.","$ref":"#/definitions/push.push.Params"}}},"push.push.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\r\nMsgUpdateParams message.","type":"object"},"push.push.Params":{"description":"Params defines the parameters for the module.","type":"object"}},"tags":[{"name":"Msg"}]}
1+
{"id":"push","consumes":["application/json"],"produces":["application/json"],"swagger":"2.0","info":{"description":"Chain push REST API","title":"HTTP API Console","contact":{"name":"push"},"version":"version not set"},"paths":{"/push.push.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.","operationId":"PushMsg_UpdateParams","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/push.push.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/push.push.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}}},"definitions":{"google.protobuf.Any":{"type":"object","properties":{"@type":{"type":"string"}},"additionalProperties":{}},"google.rpc.Status":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"details":{"type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"message":{"type":"string"}}},"push.push.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the module parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/push.push.Params"}}},"push.push.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.","type":"object"},"push.push.Params":{"description":"Params defines the parameters for the module.","type":"object"}},"tags":[{"name":"Msg"}]}

0 commit comments

Comments
 (0)