Skip to content

Commit 1dcb60a

Browse files
authored
chore: make unified schema the default (#2799)
1 parent fcc3c79 commit 1dcb60a

File tree

6 files changed

+168957
-168922
lines changed

6 files changed

+168957
-168922
lines changed

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ include samtranslator/policy_templates_data/schema.json
77
include samtranslator/model/connector_profiles/profiles.json
88
include samtranslator/schema/docs.json
99
include samtranslator/schema/schema.json
10+
include samtranslator/schema/sam.schema.json
11+
include samtranslator/schema/cloudformation.schema.json
1012
include README.md
1113
include THIRD_PARTY_LICENSES
1214

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ black:
2626
black-check:
2727
# Checking latest schema was generated (run `make schema` if this fails)
2828
mkdir -p .tmp
29-
python samtranslator/schema/schema.py --sam-schema .tmp/sam.schema.json --cfn-schema samtranslator/schema/cloudformation.schema.json --unified-schema .tmp/unified.schema.json
30-
diff -u samtranslator/schema/schema.json .tmp/sam.schema.json
31-
diff -u samtranslator/schema/unified.schema.json .tmp/unified.schema.json
29+
python samtranslator/schema/schema.py --sam-schema .tmp/sam.schema.json --cfn-schema samtranslator/schema/cloudformation.schema.json --unified-schema .tmp/schema.json
30+
diff -u samtranslator/schema/sam.schema.json .tmp/sam.schema.json
31+
diff -u samtranslator/schema/schema.json .tmp/schema.json
3232
black --check setup.py samtranslator/* tests/* integration/* bin/*.py
3333
bin/json-format.py --check tests integration samtranslator/policy_templates_data
3434
bin/yaml-format.py --check tests
@@ -49,7 +49,7 @@ update-cfn-schema:
4949
curl -o samtranslator/schema/cloudformation.schema.json https://raw.githubusercontent.com/awslabs/goformation/master/schema/cloudformation.schema.json
5050

5151
schema:
52-
python samtranslator/schema/schema.py --sam-schema samtranslator/schema/schema.json --cfn-schema samtranslator/schema/cloudformation.schema.json --unified-schema samtranslator/schema/unified.schema.json
52+
python samtranslator/schema/schema.py --sam-schema samtranslator/schema/sam.schema.json --cfn-schema samtranslator/schema/cloudformation.schema.json --unified-schema samtranslator/schema/schema.json
5353

5454
# Command to run everytime you make changes to verify everything works
5555
dev: test

0 commit comments

Comments
 (0)