Skip to content

Commit

Permalink
Builds Makefile.final just before building the archive
Browse files Browse the repository at this point in the history
  • Loading branch information
colindean committed Jul 24, 2020
1 parent 43b080a commit 8cb5f90
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 0999_package_it_up.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,16 @@ program output generated dynamically as the document was built. @Lst:artifacts
contains a list of files available in a companion archive and a SHA256 hash of
that archive as it was packaged at build time to verify its authenticity.

Notably, `Makefile.final` is the assembled version of all `ledger` Makefile
examples in this workshop. You can use it wholesale for your next `ledger`
project: your personal finances!

<!-- packaging up the panpipe tmpdir -->

Listing: Artifacts built in the process of compiling this document {#lst:artifacts}

```{pipe="sh"}
cat Makefile.*.txt | grep -v '^# ' > Makefile.final
ARCHIVE=root/pta_workshop_artifacts.tar.gz
tar -czvf "${ARCHIVE}" --exclude='root' . 2>&1 | sed -e 's%a \.\/%%g' | grep -v 'a\ \.' | sort | paste - - - | column -t
sha256sum "${ARCHIVE}"
Expand Down

0 comments on commit 8cb5f90

Please sign in to comment.