diff options
-rwxr-xr-x | ikiwiki.sh | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -44,12 +44,17 @@ cp "$ambientdir/ikiwiki-ambient-script" "$script" # directory. An incremental build needs the local html directory and # the site's .ikiwiki directory, and changes to those need to persist # between runs, so we use the cache mechanism. + +cat <<EOF >"$tmp/build.yaml" +image: ~/tmp/ambient/ambient-ikiwiki.qcow2 +src: $srcdir +cache: $cache +dependencies: ~/.ikiwiki/ +EOF + "$ambientdir/ambient-run" \ - --image ~/tmp/ambient/ambient-ikiwiki.qcow2 \ - --dependencies ~/.ikiwiki/ \ - --cache "$cache" \ --log ~/tmp/ambient/log \ - "$srcdir" + "$tmp/build.yaml" # Remove the script installed one. rm "$script" |