daml/scalafmt.sh

9 lines
240 B
Bash
Raw Normal View History

2019-04-04 11:33:38 +03:00
#!/usr/bin/env bash
# Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
set -eu -o pipefail
cd "${0%/*}"
scalafmt --git true --config .scalafmt.conf "$@"