-
Notifications
You must be signed in to change notification settings - Fork 12
/
SharedMakefileV2.mk
25 lines (18 loc) · 1.44 KB
/
SharedMakefileV2.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
25
# 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)/smithy-dafny
GRADLEW := ./runtimes/java/gradlew
include $(SMITHY_DAFNY_ROOT)/SmithyDafnyMakefile.mk
verify:DAFNY_OPTIONS=--allow-deprecation --allow-external-contracts
verify_single:DAFNY_OPTIONS=--allow-deprecation --allow-external-contracts
verify_service:DAFNY_OPTIONS=--allow-deprecation --allow-external-contracts
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
transpile_implementation_python: DAFNY_OPTIONS=--allow-warnings --allow-external-contracts
transpile_test_python: DAFNY_OPTIONS=--allow-warnings --include-test-runner --allow-external-contracts