-
Notifications
You must be signed in to change notification settings - Fork 20
/
Makefile
40 lines (31 loc) · 1.56 KB
/
Makefile
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
verify:
$(MAKE) -C AwsEncryptionSDK verify CORES=4
dafny-reportgenerator:
$(MAKE) -C AwsEncryptionSDK dafny-reportgenerator
duvet: | duvet_extract duvet_report
duvet_extract:
rm -rf compliance
$(foreach file, $(shell find aws-encryption-sdk-specification/framework -name '*.md'), duvet extract -o compliance -f MARKDOWN $(file);)
# $(foreach file, $(shell find aws-encryption-sdk-specification/client-apis -name '*.md'), duvet extract -o compliance -f MARKDOWN $(file);)
# $(foreach file, $(shell find aws-encryption-sdk-specification/data-format -name '*.md'), duvet extract -o compliance -f MARKDOWN $(file);)
# TODO add these arguments to duvet_report as the work completes
# --ci \
# --require-citations true \
# --require-tests true \
duvet_report:
duvet \
report \
--spec-pattern "compliance/**/*.toml" \
--source-pattern "AwsCryptographicMaterialProviders/dafny/**/src/**/*.dfy" \
--source-pattern "AwsCryptographicMaterialProviders/dafny/**/Model/**/*.smithy" \
--source-pattern "AwsCryptographicMaterialProviders/compliance_exceptions/**/*.txt" \
--source-pattern "(# //=,# //#).github/workflows/duvet.yaml" \
--html specification_compliance_report.html
setup_semantic_release:
npm i --no-save semantic-release @semantic-release/changelog semantic-release-replace-plugin conventional-changelog-conventionalcommits @semantic-release/git
run_semantic_release:
npx semantic-release --no-ci
dry_run_semantic_release:
npx semantic-release --dry-run