Skip to content

Commit

Permalink
Update the readme file and some build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
virgil-serbanuta committed Oct 25, 2024
1 parent acb6aba commit 45a2e80
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 451 deletions.
66 changes: 2 additions & 64 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -418,23 +418,7 @@ $(ULM_NO_CONTRACT_TESTING_OUTPUT_DIR)/%.run.executed.kore: \
parsers/test-ulm-testing-execution.sh
mkdir -p $(ULM_NO_CONTRACT_TESTING_OUTPUT_DIR)

echo "<(<" > [email protected]
echo "::bytes_hooks" >> [email protected]
echo "<|>" >> [email protected]
cat $(ULM_CONTRACTS_TESTING_INPUT_DIR)/bytes_hooks.rs >> [email protected]
echo ">)>" >> [email protected]

# echo "<(<" > [email protected]
# echo "::ulm" >> [email protected]
# echo "<|>" >> [email protected]
# cat $(ULM_CONTRACTS_TESTING_INPUT_DIR)/ulm.rs >> [email protected]
# echo ">)>" >> [email protected]

echo "<(<" >> [email protected]
echo "$<" | sed 's%^.*/%%' | sed 's/\..*//' | sed 's/^/::/' >> [email protected]
echo "<|>" >> [email protected]
cat "$(shell echo "$<" | sed 's/\.[^.]*.run$$//').rs" >> [email protected]
echo ">)>" >> [email protected]
compilation/prepare-rust-bundle.sh "$(shell echo "$<" | sed 's/\.[^.]*.run$$//').rs" "[email protected]"

krun \
[email protected] \
Expand All @@ -460,53 +444,7 @@ $(ULM_WITH_CONTRACT_TESTING_OUTPUT_DIR)/%.run.executed.kore: \
parsers/test-ulm-testing-execution.sh
mkdir -p $(ULM_WITH_CONTRACT_TESTING_OUTPUT_DIR)

echo "<(<" > [email protected]
echo "::address" >> [email protected]
echo "<|>" >> [email protected]
cat $(ULM_CONTRACTS_TESTING_INPUT_DIR)/address.rs >> [email protected]
echo ">)>" >> [email protected]

echo "<(<" >> [email protected]
echo "::bytes_hooks" >> [email protected]
echo "<|>" >> [email protected]
cat $(ULM_CONTRACTS_TESTING_INPUT_DIR)/bytes_hooks.rs >> [email protected]
echo ">)>" >> [email protected]

echo "<(<" >> [email protected]
echo "::test_helpers" >> [email protected]
echo "<|>" >> [email protected]
cat $(ULM_CONTRACTS_TESTING_INPUT_DIR)/test_helpers.rs >> [email protected]
echo ">)>" >> [email protected]

echo "<(<" >> [email protected]
echo "::helpers" >> [email protected]
echo "<|>" >> [email protected]
cat $(ULM_CONTRACTS_TESTING_INPUT_DIR)/helpers.rs >> [email protected]
echo ">)>" >> [email protected]

echo "<(<" >> [email protected]
echo "::state_hooks" >> [email protected]
echo "<|>" >> [email protected]
cat $(ULM_CONTRACTS_TESTING_INPUT_DIR)/state_hooks.rs >> [email protected]
echo ">)>" >> [email protected]

echo "<(<" >> [email protected]
echo "::single_value_mapper" >> [email protected]
echo "<|>" >> [email protected]
cat $(ULM_CONTRACTS_TESTING_INPUT_DIR)/single_value_mapper.rs >> [email protected]
echo ">)>" >> [email protected]

echo "<(<" >> [email protected]
echo "::ulm" >> [email protected]
echo "<|>" >> [email protected]
cat $(ULM_CONTRACTS_TESTING_INPUT_DIR)/ulm.rs >> [email protected]
echo ">)>" >> [email protected]

echo "<(<" >> [email protected]
echo "$<" | sed 's%^.*/%%' | sed 's/\..*//' | sed 's/^/::/' >> [email protected]
echo "<|>" >> [email protected]
cat "$(shell echo "$<" | sed 's/\.[^.]*.run$$//').rs" >> [email protected]
echo ">)>" >> [email protected]
compilation/prepare-rust-bundle.sh "$(shell echo "$<" | sed 's/\.[^.]*.run$$//').rs" "[email protected]"

krun \
[email protected] \
Expand Down
Loading

0 comments on commit 45a2e80

Please sign in to comment.