diff --git a/examples/hello-world.cdb b/examples/hello-world.cdb index 61f2e40..3106272 100644 Binary files a/examples/hello-world.cdb and b/examples/hello-world.cdb differ diff --git a/examples/hello-world.cdb-dump b/examples/hello-world.cdb-dump new file mode 100644 index 0000000..a136f5e --- /dev/null +++ b/examples/hello-world.cdb-dump @@ -0,0 +1,42 @@ + ++14,46 +schema:version +2018-11-20-a--27c59009ca1e08a247b0de12293c9275 + ++15,129 +files:content:/ +0ba904eae8773b70c75333db4de2f3ac45a8ad4ddba1b242f0b3cfc199391dd8:14502233f65c2825f83664f9e76798e6ccd71d38b75c47d5c45f5c49b72c372a + ++78,189 +data:metadata:14502233f65c2825f83664f9e76798e6ccd71d38b75c47d5c45f5c49b72c372a +Cache-Control: public, immutable, max-age=3600 +Content-Encoding: identity +Content-Type: text/plain; charset=utf-8 +ETag: 0ba904eae8773b70c75333db4de2f3ac45a8ad4ddba1b242f0b3cfc199391dd8 + + ++77,13 +data:content:0ba904eae8773b70c75333db4de2f3ac45a8ad4ddba1b242f0b3cfc199391dd8 +Hello world! + + ++16,129 +files:content:/* +0ba904eae8773b70c75333db4de2f3ac45a8ad4ddba1b242f0b3cfc199391dd8:14502233f65c2825f83664f9e76798e6ccd71d38b75c47d5c45f5c49b72c372a + ++20,129 +files:content:/index +0ba904eae8773b70c75333db4de2f3ac45a8ad4ddba1b242f0b3cfc199391dd8:14502233f65c2825f83664f9e76798e6ccd71d38b75c47d5c45f5c49b72c372a + ++24,129 +files:content:/index.txt +0ba904eae8773b70c75333db4de2f3ac45a8ad4ddba1b242f0b3cfc199391dd8:14502233f65c2825f83664f9e76798e6ccd71d38b75c47d5c45f5c49b72c372a + ++11,23 +files:index +/ +/* +/index +/index.txt + + diff --git a/scripts/z-run b/scripts/z-run index 4569bd5..ae965df 100644 --- a/scripts/z-run +++ b/scripts/z-run @@ -527,11 +527,16 @@ << examples / hello-world / archive - exec -- "${ZRUN[@]}" ':: execute / archiver / debug' \ + "${ZRUN[@]}" ':: execute / archiver / debug' \ --sources ./examples/hello-world \ --archive ./examples/hello-world.cdb \ --debug \ # + cdb -d -- ./examples/hello-world.cdb \ + | tr -d '\r' \ + | sed -r -e 's#^(\+[0-9]+,[0-9]+):(.+?)->#\n\1\n\2\n#' \ + >| ./examples/hello-world.cdb-dump \ + # !! << examples / hello-world / serve