Skip to content

Commit

Permalink
Fix dependencies for create-daml-app (digital-asset#13089)
Browse files Browse the repository at this point in the history
No reason to incldue daml-trigger by default.

changelog_begin
changelog_end
  • Loading branch information
cocreature authored Feb 25, 2022
1 parent 585f695 commit 49e04c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/create-daml-app/daml.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ source: daml
dependencies:
- daml-prim
- daml-stdlib
- daml-trigger
- daml-script
start-navigator: false
codegen:
js:
Expand Down
5 changes: 3 additions & 2 deletions templates/gsg-trigger.patch
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,16 @@ diff --git create-daml-app/daml/User.daml create-daml-app/daml/User.daml
+-- MESSAGE_END
--- create-daml-app/daml.yaml.template 2022-01-26 17:29:37.149557361 +0100
+++ create-daml-app/daml.yaml.template 2022-01-26 17:29:27.749276386 +0100
@@ -2,10 +2,12 @@
@@ -2,10 +2,13 @@
name: __PROJECT_NAME__
version: 0.1.0
source: daml
+# trigger-dependencies-begin
dependencies:
- daml-prim
- daml-stdlib
- daml-trigger
- daml-script
+- daml-trigger
+# trigger-dependencies-end
start-navigator: false
codegen:
Expand Down

0 comments on commit 49e04c1

Please sign in to comment.