Skip to content

Commit

Permalink
remove ls
Browse files Browse the repository at this point in the history
  • Loading branch information
ricomateo committed Jan 24, 2025
1 parent fe74465 commit 115e97e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,30 +76,24 @@ bindings_host:
forge bind --alloy --skip-build --bindings-path $(SDK_BINDINGS_PATH) --overwrite \
--root $(SDK_CONTRACTS_LOCATION) --module \
$(SDK_CONTRACTS_ARGS)

ls -l $(SDK_BINDINGS_PATH)

# Generate middleware bindings
cd $(MIDDLEWARE_CONTRACTS_LOCATION) && forge build --force --skip test --skip script
forge bind --alloy --skip-build --bindings-path $(MIDDLEWARE_BINDINGS_PATH) --overwrite \
--root $(MIDDLEWARE_CONTRACTS_LOCATION) --module \
$(MIDDLEWARE_CONTRACTS_ARGS)

ls -l $(MIDDLEWARE_BINDINGS_PATH)

# Generate core bindings
cd $(CORE_CONTRACTS_LOCATION) && forge build --force --skip test --skip script
forge bind --alloy --skip-build --bindings-path $(CORE_BINDINGS_PATH) --overwrite \
--root $(CORE_CONTRACTS_LOCATION) --module \
$(CORE_CONTRACTS_ARGS)

ls -l $(CORE_BINDINGS_PATH)

@echo "Bindings generated"

bindings:
@echo "Starting Docker container..."
@docker run --rm -v "$(PWD):$(PWD)" -w "$(PWD)" \
--user $(id -u):$(id -g) \
ghcr.io/foundry-rs/foundry:v0.3.0 \
-c 'whoami'
-c 'git config --global --add safe.directory /home/runner/work/eigensdk-rs/eigensdk-rs && \
apk add g++ && apk add make && whoami && ls -l crates/utils/src/core && make bindings_host'

0 comments on commit 115e97e

Please sign in to comment.