examples/marine-examples/greeting/package_modules.sh
boneyard93501 440b3c3137
add fluence cli packaging, update records (#423)
* add packaging script

* add packaged module

* add packaging script

* add package

* add package script

* add package

* add package script

* add service package

* update figure 1

* add packaged modules

* update records module types

* add packaging script

* add packaedmodule

* add flunce cli reference

* Update marine-examples/README.md

Co-authored-by: Valery Antopol <valery.antopol@gmail.com>

* add newline

* add newline

* add newline

* add newline

* update module order

* update module name

---------

Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2023-02-22 11:14:01 -06:00

20 lines
322 B
Bash
Executable File

mkdir -p module-exports/modules/greeting
sh ./build.sh
cd module-exports
cp ../target/wasm32-wasi/release/greeting.wasm modules/greeting/
file="modules/greeting/module.yaml"
cat > $file <<- EOF
version: 0
name: local_storage
loggerEnabled: true
EOF
tar -czvf greeting.tar.gz modules
rm -r modules
cd ../
cargo clean