Skip to content

Commit

Permalink
Merge pull request #41 from RetricSu/RetricSu-patch-1
Browse files Browse the repository at this point in the history
fix: gen-godwoken-schema  entrypoint.sh
  • Loading branch information
RetricSu authored May 27, 2021
2 parents e4c7c23 + a5db876 commit b6f6c02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/gen-godwoken-schema/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ ENTRY_DIR=${PROJECT_DIR}/docker/gen-godwoken-schema

moleculec -V

mkdir -p ${ENTRY_DIR}/schemas

moleculec --language - --schema-file ${PROJECT_DIR}/godwoken/crates/types/schemas/blockchain.mol --format json > ${ENTRY_DIR}/schemas/blockchain.json
moleculec --language - --schema-file ${PROJECT_DIR}/godwoken/crates/types/schemas/godwoken.mol --format json > ${ENTRY_DIR}/schemas/godwoken.json
moleculec --language - --schema-file ${PROJECT_DIR}/godwoken/crates/types/schemas/store.mol --format json > ${ENTRY_DIR}/schemas/store.json
Expand All @@ -25,4 +27,4 @@ echo 'generated. '

cp -r ${ENTRY_DIR}/schemas ${PROJECT_DIR}/godwoken-examples/packages/godwoken/

echo 'done. '
echo 'done. '

0 comments on commit b6f6c02

Please sign in to comment.