From 14cb92e7ab6f9b92d68ff43101b3e189933cff77 Mon Sep 17 00:00:00 2001 From: Craig Everett Date: Thu, 23 Jan 2025 21:48:28 +0900 Subject: [PATCH] Adding a package prep script --- rebar.config | 10 +--------- rebar.lock | 2 +- zomp_prep | 9 +++++++++ 3 files changed, 11 insertions(+), 10 deletions(-) create mode 100755 zomp_prep diff --git a/rebar.config b/rebar.config index 5c59793..c4b4034 100644 --- a/rebar.config +++ b/rebar.config @@ -6,7 +6,7 @@ [{sha3, {git, "https://git.qpq.swiss/QPQ-AG/erlang-sha3.git", - {ref, "12587a70ca17e2f365abb7c184e666e830821989"}}}]}. + {ref, "7290fa23664b4134d15da353061ac97aa158b332"}}}]}. {profiles, [{test, @@ -15,10 +15,6 @@ {git, "https://git.qpq.swiss/QPQ-AG/enacl.git", {ref, "4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}}, - {sha3, - {git, - "https://git.qpq.swiss/QPQ-AG/erlang-sha3.git", - {ref, "12587a70ca17e2f365abb7c184e666e830821989"}}}, {ecrecover, {git, "https://git.qpq.swiss/QPQ-AG/ecrecover.git", @@ -29,10 +25,6 @@ {git, "https://git.qpq.swiss/QPQ-AG/enacl.git", {ref, "4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}}, - {sha3, - {git, - "https://git.qpq.swiss/QPQ-AG/erlang-sha3.git", - {ref, "12587a70ca17e2f365abb7c184e666e830821989"}}}, {ecrecover, {git, "https://git.qpq.swiss/QPQ-AG/ecrecover.git", diff --git a/rebar.lock b/rebar.lock index a8dd74d..bb50be3 100644 --- a/rebar.lock +++ b/rebar.lock @@ -3,7 +3,7 @@ {<<"sha3">>, {git, "https://git.qpq.swiss/QPQ-AG/erlang-sha3.git", - {ref, "12587a70ca17e2f365abb7c184e666e830821989"}}, + {ref, "7290fa23664b4134d15da353061ac97aa158b332"}}, 0}]}. [ {pkg_hash,[ diff --git a/zomp_prep b/zomp_prep new file mode 100755 index 0000000..2cb390d --- /dev/null +++ b/zomp_prep @@ -0,0 +1,9 @@ +#! /bin/bash + +# This is a small pre-packaging source generation and include correction script that should be +# run before packaging this project for use with ZX/Zomp. + +rm -rf _build +rm -f ebin/*.beam +rm -f rebar* +rm -rf quickcheck