anymods – the set of all-sort extensions to any(1) build engine.

Required

any
wide range of utils, depending on the used set of modules

For developers

To generate new documentation files from Latex sources, one will need:
perl
devdoc utility (https://opendistro.org/devdoc/)
links to generate plain text from html

Latest code

anymods at buildbucket:
https://bitbucket.org/r-cr/anymods

Description

anymods contain shell library modules for any(1), and sometimes commands for rcr(1) as well. The modules significantly extend functions of core engine, but with the price of relying on external programs. Each module is self-contained mini-source tarball, handled independently from others. Modular system helps to keep the engine tiny, use full-pledged build infrastructure, avoid the unneeded dependencies and quickly add new modules to overall set.

Module shell files reside in any/lib/ inside working dir. To use installed module, one needs to add according keyword to rdd(1) profile id in command line or config file.
For example, usage of module trackcontent requires the addition of trackcontent to the first argument of rdd(1):

        $ ardd id,trackcontent some-packs.src
So installed modules do not affect the behaviour of your anarchy working directory on their own.

Index of available modules is below. Not all of them will be available from working directory or any-settle(1) in case of selective installation.

builddep
gathers the build-time dependencies for new packages.
buildfresh
detects the list of packages to rebuild after sources have been updated.
fetchdevgit
handles the development sources with git(1).
fetchstatic
handles the source archives from remote hosts (scp(1)).
packdeb
creates binary packages in .deb format for dpkg(1).
packslack
creates binary packages for Slackware distribution.
trackcontent
does regression checks, comparing current package state with a previous one.
trackelf
checks ELF files on consistency.

Install

Variable ADIR is used to keep the path to a working directory with any(1) engine.
    $ ADIR=WORKDIR ./install.sh

Variable DESTDIR is used to keep the path to the root install destination. Its default value is:

    $ ADIR=WORKDIR DESTDIR=${HOME}/rrr ./install.sh

With no arguments to ./install.sh all available modules are installed plus the overall description of anymods set. To pick less modules name them after install script:

    $ ADIR=WORKDIR ./install.sh onemodule twomodule

Distribution

Available under ISC License.
Copyright 2016-2020 Random Crew.