Skip to content

Commit

Permalink
add arity check
Browse files Browse the repository at this point in the history
  • Loading branch information
sskeirik committed Dec 14, 2024
1 parent 02f1015 commit f138c34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/compile-contract
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

[ $# -ne 1 ] && { echo "usage: compile-contract <contract-kore-file>"; exit 1; }
LD_LIBRARY_PATH="$SCRIPT_DIR/../build/lib:$LD_LIBRARY_PATH" "$SCRIPT_DIR/../build/ulm-contract-compiler" $1

0 comments on commit f138c34

Please sign in to comment.