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. --- ...apture-output-file-with-parameter-reference.out | 24 ---------------------- 1 file changed, 24 deletions(-) delete mode 100644 doc/capture-output-file-with-parameter-reference.out (limited to 'doc/capture-output-file-with-parameter-reference.out') diff --git a/doc/capture-output-file-with-parameter-reference.out b/doc/capture-output-file-with-parameter-reference.out deleted file mode 100644 index 57369d2..0000000 --- a/doc/capture-output-file-with-parameter-reference.out +++ /dev/null @@ -1,24 +0,0 @@ -$ ccwl compile capture-output-file.scm > capture-output-file.cwl -$ cwltool capture-output-file.cwl --archive hello.tar --extractfile hello.txt -[workflow ] start -[workflow ] starting step extract-specific-file -[step extract-specific-file] start -[job extract-specific-file] /tmp/751nydd1$ tar \ - --extract \ - --file \ - /tmp/1zzw2n6m/stgc851e003-b5bd-437e-844b-311f6f66a7f1/hello.tar \ - hello.txt -[job extract-specific-file] completed success -[step extract-specific-file] completed success -[workflow ] completed success -{ - "extracted-file": { - "location": "file:///home/manimekalai/hello.txt", - "basename": "hello.txt", - "class": "File", - "checksum": "sha1$a0b65939670bc2c010f4d5d6a0b3e4e4590fb92b", - "size": 13, - "path": "/home/manimekalai/hello.txt" - } -} -Final process status is success -- cgit v1.2.3