Commit graph

20 commits

Author SHA1 Message Date
Adam Spiers 06fdfc185f merge unstow_orig.t into unstow.t and fix unstowing logic
There was a ton of duplication which is not maintainable, so refactor
everything into a single test which still covers the differences.

This in turn revealed some issues in the unstowing logic:

- We shouldn't conflict if we find a file which isn't a link or a
  directory; we can just skip over it.

- Unstowing with `--dotfiles` was using the wrong variable to obtain
  the package path, and as a result having to perform an unnecessary
  call to `adjust_dotfile()`.

So fix those at the same time.
2024-04-07 15:47:38 +01:00
Adam Spiers 001b287b1b allow playground/ directory for testing stuff 2024-04-07 15:47:38 +01:00
Adam Spiers a7c251c316 tidy up MANIFEST.SKIP 2024-04-07 15:47:38 +01:00
Adam Spiers fee2225dc9
Merge pull request #106 from aspiers/dev 2024-04-06 15:37:36 +01:00
Adam Spiers 5bb65f60d6 Update manifest files to keep ./Build distcheck happy 2024-04-06 15:09:53 +01:00
Adam Spiers 58c1946ed9 Port Travis CI workflow to a GitHub CI workflow
Travis is no longer free, so move to GitHub.  (In the future ideally
we should reduce dependencies on proprietary platforms.)
2024-04-05 01:52:42 +01:00
Adam Spiers 22ca973d59 Switch to makeinfo --html --no-split for single-page HTML manual (#21)
Remove the dependency on the ancient and unmaintained texi2html, which
was difficult to get running on most distros other than openSUSE.

There are two more modern alternative approaches which can replace
this:

  - Use texi2any
  - Use makeinfo --html --no-split

The latter seems to be the standard way these days, so we switch to
that; however we keep Makefile rules for all three, and a phony
meta-rule 'manual-single-html-all' to allow quick comparison between
them.  Make tweaks accordingly to minimise the differences and improve
the output.

The rules for the older two approaches do not get triggered by
default.

Fixes #21: https://github.com/aspiers/stow/issues/21
2019-06-26 13:48:06 +01:00
Charles LeDoux 95ffbc5ebd Add docker files for local testing.
* Use docker to locally run tests on multiple perl versions
    * perlbrew used to install multiple perls
    * perl environments bootstrapped when image built
* Based on travis configuration
* Adds docker folder to MANIFEST.SKIP
* Running image runs all tests.
    * If exit with no error, then all tests pass.
* ./build-docker.sh builds stow testing image.
* ./test-docker.sh runs stow testing image.
    * Assumes built with options in build-docker.sh
* *-docker.sh scripts added to MANIFEST.SKIP
2016-05-18 17:31:04 -05:00
Adam Spiers b52d7890f8 add .travis.yml to MANIFEST.SKIP 2015-11-17 01:35:47 +00:00
Adam Spiers 6c3c617fd2 Ignore tmp-testing-trees anywhere. 2012-02-18 17:14:50 +00:00
Adam Spiers fb2f621b1c Ignore .mrdownload files from my `download' plugin to Joey Hess' mr utility. 2011-12-06 17:34:31 +00:00
Adam Spiers 813a016c1a Add *.orig to MANIFEST.SKIP. 2011-12-06 17:11:12 +00:00
Adam Spiers a17537af3e Give up on automake's built-in rules for generating PDF and HTML and use our own.
Also include split version of the manual.
2011-12-03 14:42:41 +00:00
Adam Spiers 6682aa9caf Temporarily remove PDF from dist_doc_DATA due to automake issue.
http://article.gmane.org/gmane.comp.sysutils.automake.general/13192

This means that it is still included in the distribution and
installed, but is only automatically (re)built when making a
new distribution - if stow.texi changes during development, it
has to be rebuilt manually via 'make pdf'.
2011-12-03 01:36:23 +00:00
Adam Spiers e3eeedc2c1 Module::Build generates archive files with 'v' for version 2011-12-03 01:36:23 +00:00
Adam Spiers e1e8175ea5 Switch to renaming to manual via install hook as suggested by Stefano Lattarini
http://article.gmane.org/gmane.comp.sysutils.automake.general/13191
2011-12-03 01:36:22 +00:00
Adam Spiers d2473363b2 Synchronise CPAN MANIFEST files with automake distribution list. 2011-11-28 23:47:53 +00:00
Adam Spiers aad96a0a44 Don't duplicate stow.texi to manual.texi. 2011-11-28 23:47:53 +00:00
Adam Spiers 81da7be357 Sync up .gitignore and MANIFEST* with recent changes. 2011-11-26 16:34:57 +00:00
Adam Spiers 58625800ee Reorganise more files into subdirectories and add CPAN support via Module::Build 2011-11-26 15:10:26 +00:00