Skip to content
This repository was archived by the owner on Apr 27, 2023. It is now read-only.

Latest commit

 

History

History
57 lines (37 loc) · 1.36 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.36 KB

Libero common scripts

Build Status

These common scripts are used in Libero projects builds.

Getting started

To add to a repository, run:

git submodule add https://github.com/libero/scripts .scripts

and commit the result.

To initialize the submodule in a repository that uses it, run:

git submodule init
git submodule update

To update the copy of scripts used in a repository, run:

git submodule update --remote

and commit the result.

Developing

If you add a shellscript consider using bats to add tests for it.

To run tests locally:

  • install shellcheck (apt/brew/yum install shellcheck)
make setup
make test
make teardown

NOTE: some tests grep docker images output. If in doubt use docker system prune --all to ensure a clean test run.

Getting help