Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 781 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 781 Bytes

🐚 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