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/decompress-compile-run.out | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 doc/decompress-compile-run.out (limited to 'doc/decompress-compile-run.out') diff --git a/doc/decompress-compile-run.out b/doc/decompress-compile-run.out deleted file mode 100644 index 7ab832e..0000000 --- a/doc/decompress-compile-run.out +++ /dev/null @@ -1,36 +0,0 @@ -$ ccwl compile decompress-compile-run.scm > decompress-compile-run.cwl -$ cwltool decompress-compile-run.cwl --compressed-source hello.c.gz -[workflow ] start -[workflow ] starting step decompress -[step decompress] start -[job decompress] /tmp/3bsk5yfm$ gzip \ - --stdout \ - --decompress \ - /tmp/yn4wh0j8/stg1e0bc56d-f845-4a28-a685-1faf96129eac/hello.c.gz > /tmp/3bsk5yfm/eae8fb860f3b6eaf6ae2b9d9285b5c07cc457e90 -[job decompress] completed success -[step decompress] completed success -[workflow ] starting step compile -[step compile] start -[job compile] /tmp/lnjz1vik$ gcc \ - -x \ - c \ - /tmp/rpf9g_lj/stg1be6bb98-7101-4f46-9885-fe0a985dee73/eae8fb860f3b6eaf6ae2b9d9285b5c07cc457e90 -[job compile] completed success -[step compile] completed success -[workflow ] starting step run -[step run] start -[job run] /tmp/fftn945x$ /tmp/favjw7d5/stg2576ae91-5240-4731-b98d-dee0f8ef7703/a.out > /tmp/fftn945x/c32c587f7afbdf87cf991c14a43edecf09cd93bf -[job run] completed success -[step run] completed success -[workflow ] completed success -{ - "stdout": { - "location": "file:///home/manimekalai/c32c587f7afbdf87cf991c14a43edecf09cd93bf", - "basename": "c32c587f7afbdf87cf991c14a43edecf09cd93bf", - "class": "File", - "checksum": "sha1$a0b65939670bc2c010f4d5d6a0b3e4e4590fb92b", - "size": 13, - "path": "/home/manimekalai/c32c587f7afbdf87cf991c14a43edecf09cd93bf" - } -} -Final process status is success -- cgit v1.2.3