~hutzdog/build.sh

A <100 line build system in pure Bash.
c8318cdc — Daniel Hutzley 3 years ago
Remove redundant entry from default.nix
cfa30081 — Daniel Hutzley 3 years ago
Fix README formatting (again)
14576d7d — Daniel Hutzley 3 years ago
Fix README formatting

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~hutzdog/build.sh
read/write
git@git.sr.ht:~hutzdog/build.sh

You can also use your local clone with git send-email.

#build.sh - the <100-line build system

#Introduction

Build.sh is a dead simple build system for *nix systems. It is written in <100 lines of Bash scripting and allows for the execution of Bash functions from the command line. In essence, it's Make but with pure Bash syntax and parameterized tasks.

#Installation

If you are on NixOS, currently the best way to install this is using the provided default.nix file. If you are on another system, then do the following:

  1. Make src/build.sh executable.
  2. Run src/build.sh build to generate the ./out directory
  3. Run sudo ./src/build.sh install to automagically place everything in it's correct location.

Please note that ./src/build.sh install will install the man page to /share/man and the executable to /bin by default. If this is not the desired behaviour, you may manually copy these files from the out directory.

For more info, please use man build.sh.

#Contributing

To submit patches, please use our mailing list at https://lists.sr.ht/~hutzdog/build.sh. To submit bug reports, please use our bug tracker at https://todo.sr.ht/~hutzdog/build.sh.