Skip to content

Commit

Permalink
wormchain: disable ignite
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-gray committed Nov 12, 2024
1 parent e717f53 commit 7177e49
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -817,12 +817,12 @@ if wormchain:
ignore = ["./wormchain/testing", "./wormchain/ts-sdk", "./wormchain/design", "./wormchain/vue", "./wormchain/build/wormchaind"],
)

docker_build(
ref = "vue-export",
context = ".",
dockerfile = "./wormchain/Dockerfile.proto",
target = "vue-export",
)
# docker_build(
# ref = "vue-export",
# context = ".",
# dockerfile = "./wormchain/Dockerfile.proto",
# target = "vue-export",
# )

docker_build(
ref = "wormchain-deploy",
Expand Down
2 changes: 1 addition & 1 deletion wormchain/Dockerfile.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ COPY ./ts-sdk/package.json ./ts-sdk/package-lock.json /ts-sdk/
RUN --mount=type=cache,uid=1000,gid=1000,target=/home/node/.npm \
npm ci --prefix=/ts-sdk
COPY ./ts-sdk /ts-sdk
COPY --from=vue-export /vue /vue
# COPY --from=vue-export /vue /vue
RUN npm run build --prefix=/ts-sdk

COPY ./contracts/tools/package.json ./contracts/tools/package-lock.json /app/tools/
Expand Down
12 changes: 6 additions & 6 deletions wormchain/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ build/wormchaind: cmd/wormchaind/main.go $(GO_FILES)
go build -v $(BUILD_FLAGS) -tags ledger -o $@ $<
cp "$@" "$@"-"$(VERSION)"

proto: $(PROTO_FILES)
DOCKER_BUILDKIT=1 docker build --target go-export -f Dockerfile.proto -o type=local,dest=. ..
# proto: $(PROTO_FILES)
# DOCKER_BUILDKIT=1 docker build --target go-export -f Dockerfile.proto -o type=local,dest=. ..

vue: $(GO_FILES) proto
mkdir -p $@
touch -m $@
DOCKER_BUILDKIT=1 docker build --target vue-export -f Dockerfile.proto -o type=local,dest=. ..
# vue: $(GO_FILES) proto
# mkdir -p $@
# touch -m $@
# DOCKER_BUILDKIT=1 docker build --target vue-export -f Dockerfile.proto -o type=local,dest=. ..

# For now this is a phony target so we just rebuild it each time instead of
# tracking dependencies
Expand Down
2 changes: 1 addition & 1 deletion wormchain/ts-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"test": "jest --config jestconfig.json --verbose",
"build": "npm run genTypes && tsc",
"genTypes": "node src/buildHelper.cjs"
"genTypes": "echo \"disabled: node src/buildHelper.cjs\""
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 7177e49

Please sign in to comment.