Age | Commit message (Collapse) | Author |
|
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.
|
|
* build-aux/find-dependencies.scm (find-dependencies): Extract
dependencies from scheme-source-form.
|
|
* build-aux/find-dependencies.scm: Delete duplicates before printing
out dependencies.
|
|
* build-aux/generate-cwl-output.sh.in: In the sed invocation, replace
doc/cwl-output too.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
* 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'.
|
|
* build-aux/build-home-page.el (build-website): Remove redundant
beginning-of-line.
|
|
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.
|
|
* build-aux/generate-cwl-output.sh.in: Preserve only the LIBRARY_PATH
environment variable.
|
|
* 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.
|
|
* build-aux/test-driver.scm.in: Import (ice-9 match).
(my-gnu-runner): Use #t as the expected value for test-assert tests.
|
|
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.
|
|
* build-aux/test-driver.scm.in: Pass argument color? to my-gnu-runner.
(color, red, green, magenta, my-gnu-runner): Accept argument color?.
|
|
* build-aux/test-driver.scm.in (magenta): New function.
(my-gnu-runner): Color test suite name in magenta.
|
|
* 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.
|
|
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.
|
|
* 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.
|
|
* build-aux/build-home-page.el (make-backup-files): Set to nil.
|
|
* 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.
|
|
SVG image export works correctly out of the box in org.
* build-aux/build-home-page.el (org-html--svg-image): Delete function.
|
|
* 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.
|
|
* Makefile.am (website, website/index.html, clean-local): New targets.
* build-aux/build-home-page.el: New file.
|
|
* 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.
|