Setup.shl

setup - A simple Bash library for setting up a directory structure using Makefile-like definitions.

Cost / License

  • Free
  • Open Source

Platforms

  • Mac  Needs Bash 4.0 to function
  • Linux
  • Chrome OS
-
No reviews
0likes
0comments
0news articles

Features

Suggest and vote on features
  1.  Build automation
  2.  Continuous builds
  3.  Parallel builds

 Tags

  • bash
  • build-tool
  • scons
  • setup

Setup.shl News & Activities

Highlights All activities

Recent activities

Show all activities

Setup.shl information

  • Developed by

    Marc Coiffier
  • Licensing

    Open Source and Free product.
  • Alternatives

    26 alternatives listed
  • Supported Languages

    • English

Popular alternatives

View all
Setup.shl was added to AlternativeTo by marccoiffier on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is Setup.shl?

setup - A simple Bash library for setting up a directory structure using Makefile-like definitions.

Setup.shl is intended to offer the same basic feature set as other make-like tools, within a Bash environment : you can define recipes to create files from their dependencies, and execute those recipes for all the files that aren't up to date, in order and in parallel when possible.

It is very minimal (the core functionality boils down to 3 main functions, and a dozen helpers), and aims to be as simple to learn as possible, while offering a wide extensibility, using Bash as its scripting language.

Pros:

  • really small footprint (<1000 LoC for the whole library), which means you can bundle the library as part of your build process
  • reduced learning effort (10 minutes to get started), compared to other equally powerful tools
  • portable on all Unixes that can run Bash (Linux, MacOS, FreeBSD, ...)
  • Setup scripts can use all the power of Bash to define their own recipes and rules
  • can watch source files for changes to implement continuous builds
  • composable : build scripts can load other build scripts to transparently integrate their productions

Cons:

  • needs Bash > 4.0 to function correctly, which may require an update on some systems
  • can be a bit slow to scan all the dependencies of a large build on a slow disk (it can scan up to 1000 files/s), although you can use state files to mitigate the problem somewhat, and continuous builds if all else fails
  • very young tool, with few builtin rules and little standardization

Official Links