aboutsummaryrefslogtreecommitdiff
path: root/build-aux
AgeCommit message (Expand)Author
2024-01-26Add v0.3.0 release tarballs.•••* website/releases/ccwl-0.3.0.tar.lz, website/releases/ccwl-0.3.0.tar.lz.asc: New files. * build-aux/build-home-page.el (org-dblock-write:download): Add v0.3.0 release. Arun Isaac
2024-01-26build-aux: Do not infer release information from git tags.•••We now build the website as a computed-file G-expression in a Guix channel. Guix channels always discard the git repository information, and don't have access to the git tags. We can fix this problem later if and when we switch to using tissue for the website. * build-aux/build-home-page.el (org-dblock-write:download): Do not infer release information from git tags. Hard-code them. Arun Isaac
2023-11-06Use (term ansi-color) for colors.•••* build-aux/test-driver.scm (color): Use colorize-string from (term ansi-color). * ccwl/ui.scm (report-formatted-message, source-in-context, report-ccwl-violation): Use colorize-string from (term ansi-color). (color, bold, red, magenta): Delete functions. Arun Isaac
2022-01-19build-aux: Fix broken link to signing key.•••* build-aux/build-home-page.el (org-dblock-write:download): Fix broken link to signing key. Arun Isaac
2022-01-10Migrate to hand-written Makefiles.•••The autotools are really overkill for a simple Guile project like ccwl. * .gitignore: Delete autotool generated files. Add Makefile.include. * Makefile.am, Makefile, build-aux/distcheck.scm, configure, configure.ac, configure.scm: New files. * NEWS: Rename to NEWS.org. Remove Emacs file-local variable to use org mode. * bootstrap.sh: Delete file. * build-aux/generate-cwl-output.sh.in: Rename to ... * build-aux/generate-cwl-output.sh: ... this. Replace autoconf variables for cwltool and sed. * build-aux/test-driver.scm.in: Rename to ... * build-aux/test-driver.scm: ... this. Do not import (ice-9 getopt-long). (%options): Delete variable. (my-gnu-runner): Do not write to log or trs ports. Accept test files as command-line arguments. Update invocation of my-gnu-runner. Print summary of results. * guix.scm (ccwl)[native-inputs]: Remove autoconf and automake. * pre-inst-env.in: Rename to ... * pre-inst-env: ... this. Replace autoconf variables for guile, abs_top_builddir and abs_top_srcdir. * scripts/ccwl.in: Rename to ... * scripts/ccwl: ... this. Replace autoconf variable for guile. Arun Isaac
2021-11-05build-aux: Extract dependencies from scheme-source-form.•••* build-aux/find-dependencies.scm (find-dependencies): Extract dependencies from scheme-source-form. Arun Isaac
2021-11-05build-aux: Delete duplicates in dependencies.•••* build-aux/find-dependencies.scm: Delete duplicates before printing out dependencies. Arun Isaac
2021-11-05build-aux: Hide doc/cwl-output in the manual output snippets.•••* build-aux/generate-cwl-output.sh.in: In the sed invocation, replace doc/cwl-output too. Arun Isaac
2021-11-05Makefile: Distinguish DOC_OTHER from DOC_OUT.•••DOC_OTHER includes dependencies that are neither scm files nor out files, but are primary sources required for the build. * Makefile.am (EXTRA_DIST): Add DOC_OTHER. (doc/ccwl.info, doc/ccwl.html): Depend on DOC_OTHER. * build-aux/find-dependencies.scm: Output DOC_OTHER. (find-dependencies): Classify source forms as type 'out or type 'other based on extension. Arun Isaac
2021-11-04build-aux: Use paths relative to top-level in generate-cwl-output.sh.•••This removes the assumption that the source tree and the build tree are the same, and is required to support VPATH builds. * build-aux/generate-cwl-output.sh.in: Accept and write to paths relative to the top-level directory. Do not change directory. * Makefile.am (doc/capture-output-file.out, doc/capture-output-file-with-parameter-reference.out, doc/checksum.out, doc/decompress-compile-run.out, doc/pass-stdin.out): Pass relative paths in input arguments. Arun Isaac
2021-11-02Makefile: Do not distribute *.out files.•••The *.out files are generated by running ccwl workflows. They need not be distributed. * build-aux/find-dependencies.scm (find-dependencies): Return *.out files and *.scm files as different kinds of dependencies. Output *.out and *.scm files separately as DOC_OUT and DOC_SCM instead of together as DOC_OTHER. * Makefile.am (doc/ccwl.info, doc/ccwl.html): Depend on DOC_SCM and DOC_OUT instead of DOC_OTHER. (EXTRA_DIST): Remove DOT_OTHER. Add DOC_SCM. Arun Isaac
2021-09-29README: Add a Download section using a dynamic block.•••In addition, we link to the GitHub repo in this new Download section rather than in the Contributing section. * README.org (download): Add dynamic block. (Contributing): Delete github-link dynamic block. * build-aux/build-home-page.el (org-dblock-write:github-link): Delete function. (org-dblock-write:download): New function. Arun Isaac
2021-09-29README: Add GitHub link using an org dynamic block.•••* README.org (Contributing): Add github-link dynamic block. * build-aux/build-home-page.el (org-dblock-write:github-link): New function. (build-website): Update all org dynamic blocks. Do not insert GitHub link using `search-forward' and `insert'. Arun Isaac
2021-08-17build-aux: Remove redundant beginning-of-line.•••* build-aux/build-home-page.el (build-website): Remove redundant beginning-of-line. Arun Isaac
2021-08-17build-aux: Link to GitHub repo on website.•••We programmatically add a link to the GitHub repo before building the website. This way, the GitHub link will appear only on the website, and not on the README.org rendered on GitHub. * build-aux/build-home-page.el (build-website): Add a link to the GitHub repo before building the website. Arun Isaac
2021-08-17build-aux: Preserve only the LIBRARY_PATH environment in cwltool runs.•••* build-aux/generate-cwl-output.sh.in: Preserve only the LIBRARY_PATH environment variable. Arun Isaac
2021-08-16Makefile: 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. Arun Isaac
2021-07-27build-aux: Use #t as the expected value for test-assert tests.•••* build-aux/test-driver.scm.in: Import (ice-9 match). (my-gnu-runner): Use #t as the expected value for test-assert tests. Arun Isaac
2021-07-19build-aux: Put website building code into a function.•••This will be useful when we want build-home-page.el to build both a website and a gemini capsule. * build-aux/build-home-page.el (build-website): New function. * Makefile.am (website/index.html): Call build-website. Arun Isaac
2021-07-19build-aux: Support disabling of color in tests.•••* build-aux/test-driver.scm.in: Pass argument color? to my-gnu-runner. (color, red, green, magenta, my-gnu-runner): Accept argument color?. Arun Isaac
2021-07-19build-aux: Color test suite names.•••* build-aux/test-driver.scm.in (magenta): New function. (my-gnu-runner): Color test suite name in magenta. Arun Isaac
2021-07-19build-aux: Abstract out colored text.•••* build-aux/test-driver.scm.in (color, red, green): New functions. (my-gnu-runner): Call red and green instead of stuffing escape codes into the format string. Arun Isaac
2021-07-19build-aux: Improve test driver output.•••The test driver output is now much cleaner, and actually logs expected and actual values of failing tests. * build-aux/test-driver.scm.in (my-gnu-runner): Inherit from test-runner-null, and improve output. Arun Isaac
2021-07-04Makefile: Include .depends with automake.•••* bootstrap.sh: Generate .depends. * Makefile.am: Include .depends with automake, not with make. (.depends): Delete rule. (doc/ccwl.html, doc/ccwl.info): Use DOC_OTHER instead of DOC_OTHER_DEPENDENCIES. (CLEANFILES): Remove .depends. * build-aux/find-dependencies.scm: Output DOC_OTHER instead of DOC_OTHER_DEPENDENCIES. _DEPENDENCIES variables are special in automake. Arun Isaac
2021-07-02build-aux: Do not make backup files.•••* build-aux/build-home-page.el (make-backup-files): Set to nil. Arun Isaac
2021-07-02Makefile: Track dependencies automatically.•••* build-aux/find-dependencies.scm: New file. * Makefile.am (DOC_IMAGES): Delete variable. (.depends): New target. Include it in the Makefile. ($(SKRIBILO_BUILD_DIR)/ccwl.info, $(SKRIBILO_BUILD_DIR)/ccwl.html): Depend on DOC_OTHER_DEPENDENCIES. (clean-local): Delete .depends. * .gitignore: Add .depends. Arun Isaac
2021-06-10build-aux: Do not override org-html--svg-image.•••SVG image export works correctly out of the box in org. * build-aux/build-home-page.el (org-html--svg-image): Delete function. Arun Isaac
2021-06-10README: Add continuous integration badges.•••* README.org (ci-badge): New macro. Add continuous integration badges. * build-aux/build-home-page.el (org-html--svg-image): Override org-html--svg-image to export svg using an img tag instead of an object tag. Arun Isaac
2021-05-24Build website from README.org.•••* Makefile.am (website, website/index.html, clean-local): New targets. * build-aux/build-home-page.el: New file. Arun Isaac
2021-04-26Run tests in autotools build system.•••* build-aux/test-driver.scm.in: New file. * configure.ac: Generate build-aux/test-driver.scm. * Makefile.am (TEST_EXTENSIONS): Add .scm. (SCM_TESTS): Add tests/ccwl.scm and tests/yaml.scm. (TESTS): Set to SCM_TESTS. (EXTRA_DIST): Distribute test files. Arun Isaac