LINAC is not a compiler
Go to file
Joe 72ee4655e3
continuous-integration/drone/push Build is passing Details
rebuild linac
2021-10-14 20:32:27 -05:00
config track config 2021-04-06 13:07:53 -05:00
src add proper logging function 2021-10-14 20:29:08 -05:00
.drone.yml [ci] update drone config 2021-09-22 21:26:58 -05:00
.gitignore track config 2021-04-06 13:07:53 -05:00
LICENSE Initial commit 2020-07-28 23:32:44 -05:00
README.md add overview and roadmap links to readme 2021-09-23 18:10:39 -05:00
linac rebuild linac 2021-10-14 20:32:27 -05:00
linac.build add proper logging function 2021-10-14 20:29:08 -05:00
linac.info bump version 2021-10-14 20:30:48 -05:00

README.md

LINAC

Build Status

Purpose

LINAC is intended to make writing and maintaining good shell scripts easier. Also see the project overview and roadmap.

Getting Started

Using LINAC

LINAC is alpha software. It's current features work well enough, but there are likely to be bugs and failures in edge cases.

LINAC is built with LINAC! You can use this repo as an example project.

Download the latest version of LINAC from the releases page and mark it as executable: chmod +x linac. To start a project in your current directory use: ./linac init. LINAC will create some necessary project files and folders for you.

Source files should be placed in src. Splitting your project into multiple files will help make it more manageable. An easy method to use is to create a new source file for each function you write.

The path to each source file you wish to include in your project should be written in the build file. If your project is named 'MyProject', the build file will be myproject.build.

When you're ready to build your project, use ./linac build myproject.build. LINAC will output the result to the build folder by default.

If you wish to install LINAC globally, copy it to a location in your PATH, e.g. sudo cp -a linac /usr/local/sbin/. Doing this will allow you to invoke LINAC by simply typing linac in any directory instead of needing to type ./linac in the same directory as LINAC.

Contributing to LINAC

Contributions are welcome!

Name

The name LINAC is a recursive acronym which stands for "LINAC is not a compiler".