daml/compiler/daml-licenses/test.sh
Gary Verhaegen 878429e3bf
update copyright notices to 2020 (#3939)
copyright update 2020

* update template
* run script: `dade-copyright-headers update .`
* update script
* manual adjustments
* exclude frozen proto files from further header checks (by adding NO_AUTO_COPYRIGHT files)
2020-01-02 21:21:13 +01:00

13 lines
281 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Test that licenses are up-to-date
#
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
set -ex
cd $DIR/licenses
./extract.py check
./extract-js.py check