Skip to content

Commit

Permalink
Merge pull request #10 from lambdaclass/zk_compile_always
Browse files Browse the repository at this point in the history
feat: Make zk script compile unconditionally
  • Loading branch information
jrchatruc authored Dec 15, 2023
2 parents 05db28e + 1429793 commit 28644d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/zk
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env bash

if [ -z "$1" ]; then
cd $ZKSYNC_HOME
yarn && yarn zk build
else
cd $ZKSYNC_HOME
yarn && yarn zk build

if [ -n "$1" ]; then
# can't start this with yarn since it has quirks with `--` as an argument
node -- $ZKSYNC_HOME/infrastructure/zk/build/index.js "$@"
fi

0 comments on commit 28644d7

Please sign in to comment.