Skip to content

erlangsters/integration-checker-erlangmk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Integration with Erlang.mk checker

The sole purpose of this repository is to check if all Erlangsters projects integrates well with the Erlang.mk build system.

All projects it's checking.

  • Erlang Term Validator
  • Extended Term Validator
  • JSON Validator
  • Settings Validator

Instead of a thorough check for all platforms, all architectures and all Erlang versions, it only checks using the latest stable 'erlang' image on Linux as we assume that backward compatibility is maintained and we're mostly interested in detecting issues early with the latest version of Erlang/OTP and Erlang.mk build system.

Checking a project

To check if a project integrates well, create a Makefile out of the Makefile.in by replacing the @project_name and @project_repo with the values of the project you want to check.

sed \
    -e 's/@project_name/etv/g' \
    -e 's/@project_repo/erlang-term-validator/g' \
    Makefile.in > Makefile

Then run make.

make

If it completes successfully, the project integrates well.

Updating Erlang.mk periodically

Periodically, Erlang.mk must be updated to the latest version. To do that, run this.

make erlang-mk

Then do a re-check of all projects.