Skip to content
/ coral Public

a modular library to create portable shell scripts that run everywhere

License

Notifications You must be signed in to change notification settings

alganet/coral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐚 coral

a modular library to create portable shell scripts that run everywhere.

Introduction

coral is meant to solve the script portability problem the hard way: by writing reusable code and testing it.

There is no compilation or build step. Once you download it, you're good to go.

$ ./coral example/hello_name.sh "World"
Hello, World!

Testing

Run all tests locally against the default shell:

./coral tap

Run a single test. For example, the pseudoarray implementation:

./coral tap 'test/_idiom/005-Arr.sh'

Run all tests inside an ephemeral docker container against all shells:

make docker-matrix

About

a modular library to create portable shell scripts that run everywhere

Resources

License

Stars

Watchers

Forks