From 4b898a0a437f7d0c58e3766202a48c2c2d5f70d2 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 16 Aug 2021 18:21:30 +0530 Subject: Makefile: Generate sample output when building documentation. * Makefile.am (CLEANFILES): Add doc/*.out. (CLEAN_DIRECTORIES): Add doc/cwl-output. (GENERATE_CWL_OUTPUT): New variable. (doc/capture-output-file.out, doc/capture-output-file-with-parameter-reference.out, doc/capture-stdout.out, doc/checksum.out, doc/decompress-compile-run.out, doc/hello-world.out, doc/pass-stdin.out, doc/hello.tar.out): New targets. * doc/capture-output-file-with-parameter-reference.out, doc/capture-output-file.out, doc/capture-stdout.out, doc/checksum.out, doc/decompress-compile-run.out, doc/hello-world.out, doc/hello.tar.out, doc/pass-stdin.out: Delete files. * build-aux/generate-cwl-output.sh.in, doc/hello.c.gz, doc/hello.tar, doc/hello.txt: New files. * configure.ac: Configure build-aux/generate-cwl-output.sh. * doc/ccwl.skb (Tutorial)[Passing input into the standard input stream of a command]: Replace file "foo" with "hello.txt". * .gitignore: Add build-aux/generate-cwl-output.sh, doc/*.out and doc/cwl-output. --- doc/checksum.out | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 doc/checksum.out (limited to 'doc/checksum.out') diff --git a/doc/checksum.out b/doc/checksum.out deleted file mode 100644 index 01d7155..0000000 --- a/doc/checksum.out +++ /dev/null @@ -1,49 +0,0 @@ -$ ccwl compile checksum.scm > checksum.cwl -$ cwltool checksum.cwl --file hello.txt -[workflow ] start -[workflow ] starting step sha256sum -[step sha256sum] start -[job sha256sum] /tmp/rjbcjppq$ sha256sum \ - /tmp/pc2bbl6o/stg2f7cdda0-9d89-47b7-96b6-fa377cc61c49/hello.txt > /tmp/rjbcjppq/0d2eaa5619c14b43326101200d0f27b0d8a1a4b1 -[job sha256sum] completed success -[step sha256sum] completed success -[workflow ] starting step sha1sum -[step sha1sum] start -[job sha1sum] /tmp/1cjtot5q$ sha1sum \ - /tmp/wliybbsp/stg993b2838-c803-4527-89d6-6a0cd7a0587a/hello.txt > /tmp/1cjtot5q/d2f19c786fcd3feb329004c8747803fba581a02d -[job sha1sum] completed success -[step sha1sum] completed success -[workflow ] starting step md5sum -[step md5sum] start -[job md5sum] /tmp/z7fe89c7$ md5sum \ - /tmp/41nnygw9/stgebdc428b-ec84-4283-88ae-682c7f4628ac/hello.txt > /tmp/z7fe89c7/112be1054505027982e64d56b0879049c12737c6 -[job md5sum] completed success -[step md5sum] completed success -[workflow ] completed success -{ - "md5": { - "location": "file:///home/manimekalai/112be1054505027982e64d56b0879049c12737c6", - "basename": "112be1054505027982e64d56b0879049c12737c6", - "class": "File", - "checksum": "sha1$dd2e54f3bd22a8bb4ffbf543151050ee9645baf2", - "size": 98, - "path": "/home/manimekalai/112be1054505027982e64d56b0879049c12737c6" - }, - "sha1": { - "location": "file:///home/manimekalai/d2f19c786fcd3feb329004c8747803fba581a02d", - "basename": "d2f19c786fcd3feb329004c8747803fba581a02d", - "class": "File", - "checksum": "sha1$f4112d33f41bc98a114b35759c26eec9a9f4256c", - "size": 106, - "path": "/home/manimekalai/d2f19c786fcd3feb329004c8747803fba581a02d" - }, - "sha256": { - "location": "file:///home/manimekalai/0d2eaa5619c14b43326101200d0f27b0d8a1a4b1", - "basename": "0d2eaa5619c14b43326101200d0f27b0d8a1a4b1", - "class": "File", - "checksum": "sha1$868ce04a610122b1c1f2846e5e9f9fc7a289d120", - "size": 130, - "path": "/home/manimekalai/0d2eaa5619c14b43326101200d0f27b0d8a1a4b1" - } -} -Final process status is success -- cgit v1.2.3