#!/bin/bash

# adapted from https://github.com/lorenzwalthert/precommit/blob/f4413cfe6282c84f7176160d06e1560860c8bd3d/inst/bin/readme-rmd-rendered

if [[ DESCRIPTION -nt codemeta.json ]]
then
    echo >&2 "codemeta.json is out of date; please re-run codemetar::write_codemeta()."
    exit 1
fi
