Skip to content

Commit

Permalink
Remove target flags in DAML triggers and DAML script (digital-asset#3545
Browse files Browse the repository at this point in the history
)

1.7 is now the default so we no longer need those.
  • Loading branch information
cocreature authored and mergify[bot] committed Nov 20, 2019
1 parent 1bc4bb7 commit 6d2ed90
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion daml-script/daml/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies:
- daml-stdlib
- daml-prim
EOF
$(location //compiler/damlc) build --target=1.dev --project-root=$$TMP_DIR -o $$PWD/$(location daml-script.dar)
$(location //compiler/damlc) build --project-root=$$TMP_DIR -o $$PWD/$(location daml-script.dar)
rm -rf $$TMP_DIR
""",
tools = ["//compiler/damlc"],
Expand Down
2 changes: 1 addition & 1 deletion daml-script/test/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies:
- daml-prim
- daml-script.dar
EOF
$(location //compiler/damlc) build --target=1.7 --project-root=$$TMP_DIR -o $$PWD/$(location script-test.dar)
$(location //compiler/damlc) build --project-root=$$TMP_DIR -o $$PWD/$(location script-test.dar)
rm -rf $$TMP_DIR
""",
tools = ["//compiler/damlc"],
Expand Down
2 changes: 0 additions & 2 deletions docs/source/daml-script/template-root/daml.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ dependencies:
- daml-stdlib
- daml-script
# script-dependencies-end
build-options:
- --target=1.7
2 changes: 0 additions & 2 deletions docs/source/triggers/template-root/daml.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@ dependencies:
- daml-stdlib
- daml-trigger
# trigger-dependencies-end
build-options:
- --target=1.7
3 changes: 1 addition & 2 deletions triggers/daml/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies:
- daml-stdlib
- daml-prim
EOF
$(location //compiler/damlc) build --target=1.7 --project-root=$$TMP_DIR -o $$PWD/$(location daml-trigger.dar)
$(location //compiler/damlc) build --project-root=$$TMP_DIR -o $$PWD/$(location daml-trigger.dar)
rm -rf $$TMP_DIR
""",
tools = ["//compiler/damlc"],
Expand All @@ -40,7 +40,6 @@ genrule(
--output=$(location :daml-trigger.rst) \
--format=Rst \
--template=$(location :daml-trigger-rst-template.rst) \
--target=1.7 \
$(location Daml/Trigger.daml) \
$(location Daml/Trigger/LowLevel.daml)
""",
Expand Down
2 changes: 1 addition & 1 deletion triggers/tests/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies:
- daml-prim
- daml-trigger.dar
EOF
$(location //compiler/damlc) build --target=1.7 --project-root=$$TMP_DIR -o $$PWD/$(location acs.dar)
$(location //compiler/damlc) build --project-root=$$TMP_DIR -o $$PWD/$(location acs.dar)
rm -rf $$TMP_DIR
""",
tools = ["//compiler/damlc"],
Expand Down

0 comments on commit 6d2ed90

Please sign in to comment.