-
Notifications
You must be signed in to change notification settings - Fork 12
/
SharedMakefile.mk
25 lines (17 loc) · 1.32 KB
/
SharedMakefile.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# This evaluates to the local path _of this file_.
# This means that these are the project roots
# that are shared by all libraries in this repo.
PROJECT_ROOT := $(abspath $(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
SMITHY_DAFNY_ROOT := $(PROJECT_ROOT)/submodules/smithy-dafny
GRADLEW := ./runtimes/java/gradlew
include $(SMITHY_DAFNY_ROOT)/SmithyDafnyMakefile.mk
VERIFY_TIMEOUT := 250
verify:DAFNY_OPTIONS=--allow-warnings --allow-external-contracts --log-format csv
verify_single:DAFNY_OPTIONS=--allow-warnings --allow-external-contracts --log-format csv
verify_service:DAFNY_OPTIONS=--allow-warnings --allow-external-contracts --log-format csv
transpile_implementation_net: DAFNY_OPTIONS=--allow-warnings --compile-suffix --legacy-module-names --allow-external-contracts
transpile_test_net: DAFNY_OPTIONS=--allow-warnings --include-test-runner --compile-suffix --legacy-module-names --allow-external-contracts
transpile_implementation_java: DAFNY_OPTIONS=--allow-warnings --compile-suffix --legacy-data-constructors --legacy-module-names --allow-external-contracts
transpile_test_java: DAFNY_OPTIONS=--allow-warnings --include-test-runner --compile-suffix --legacy-data-constructors --legacy-module-names --allow-external-contracts