Skip to content

Commit

Permalink
Support for Holochain v0.1.5-beta-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbrisebois committed May 29, 2023
1 parent 097a602 commit 99f4b46
Show file tree
Hide file tree
Showing 17 changed files with 578 additions and 1,327 deletions.
24 changes: 7 additions & 17 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ zomes/%/Cargo.lock:
touch $@

$(MERE_MEMORY_WASM):
curl --fail -L "https://github.com/mjbrisebois/hc-zome-mere-memory/releases/download/v$$(echo $(NEW_MM_VERSION))/mere_memory.wasm" --output $@
cp ../zome-mere-memory/target/wasm32-unknown-unknown/release/mere_memory.wasm $@
$(MERE_MEMORY_API_WASM):
curl --fail -L "https://github.com/mjbrisebois/hc-zome-mere-memory/releases/download/v$$(echo $(NEW_MM_VERSION))/mere_memory_api.wasm" --output $@
cp ../zome-mere-memory/target/wasm32-unknown-unknown/release/mere_memory_api.wasm $@

use-local-backdrop:
cd tests; npm uninstall @whi/holochain-backdrop
Expand All @@ -104,7 +104,7 @@ use-local: use-local-client use-local-backdrop
use-npm: use-npm-client use-npm-backdrop

$(PORTAL_DNA):
wget -O $@ "https://github.com/holochain/portal-dna/releases/download/v$(NEW_PORTAL_VERSION)/portal.dna"
cp ../portal-dna/bundled/portal.dna $@
copy-portal-from-local:
cp ../app-store-dnas/bundled/portal.dna $(PORTAL_DNA)

Expand Down Expand Up @@ -183,20 +183,11 @@ clean-files-all: clean-remove-chaff
clean-files-all-force: clean-remove-chaff
git clean -fdx

PRE_HDK_VERSION = "0.2.0-beta-rc.4"
NEW_HDK_VERSION = "0.2.0"
PRE_HDK_VERSION = "0.2.0"
NEW_HDK_VERSION = "0.1.3-beta-rc.1"

PRE_HDI_VERSION = "0.3.0-beta-rc.3"
NEW_HDI_VERSION = "0.3.0"

PRE_CRUD_VERSION = "0.76.0"
NEW_CRUD_VERSION = "0.77.0"

PRE_MM_VERSION = "0.80.0"
NEW_MM_VERSION = "0.82.0"

# PRE_PORTAL_VERSION = "0.3.0"
NEW_PORTAL_VERSION = "0.4.0"
PRE_HDI_VERSION = "0.3.0"
NEW_HDI_VERSION = "0.2.3-beta-rc.0"

GG_REPLACE_LOCATIONS = ':(exclude)*.lock' devhub_types/ zomes/*/

Expand All @@ -207,7 +198,6 @@ update-hdi-version:
update-crud-version:
git grep -l '$(PRE_CRUD_VERSION)' -- $(GG_REPLACE_LOCATIONS) | xargs sed -i 's|$(PRE_CRUD_VERSION)|$(NEW_CRUD_VERSION)|g'
update-mere-memory-version:
git grep -l '$(PRE_MM_VERSION)' -- $(GG_REPLACE_LOCATIONS) | xargs sed -i 's|$(PRE_MM_VERSION)|$(NEW_MM_VERSION)|g'
rm zomes/mere_memory*.wasm
update-portal-version:
rm -f $(PORTAL_DNA)
Loading

0 comments on commit 99f4b46

Please sign in to comment.