Skip to content

Commit

Permalink
Add daml2ts to the SDK release tarball (digital-asset#4234)
Browse files Browse the repository at this point in the history
changelog_begin
- daml2ts now included in the SDK
changelog_end
  • Loading branch information
shayne-fletcher authored Jan 27, 2020
1 parent a56caa0 commit 9c0fe75
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions language-support/ts/codegen/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

load("//bazel_tools:haskell.bzl", "da_haskell_binary")
load("//bazel_tools/packaging:packaging.bzl", "package_app")

da_haskell_binary(
name = "daml2ts",
Expand All @@ -28,3 +29,9 @@ da_haskell_binary(
"//libs-haskell/da-hs-base",
],
)

package_app(
name = "daml2ts-dist",
binary = ":daml2ts",
visibility = ["//visibility:public"],
)
4 changes: 4 additions & 0 deletions release/util.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def sdk_tarball(name, version):
"//compiler/damlc:damlc-dist",
"//compiler/daml-extension:vsix",
"//daml-assistant/daml-helper:daml-helper-dist",
"//language-support/ts/codegen:daml2ts-dist",
"//templates:templates-tarball.tar.gz",
"//triggers/daml:daml-trigger.dar",
"//daml-script/daml:daml-script.dar",
Expand Down Expand Up @@ -68,6 +69,9 @@ def sdk_tarball(name, version):
mkdir -p $$OUT/daml-helper
tar xf $(location //daml-assistant/daml-helper:daml-helper-dist) --strip-components=1 -C $$OUT/daml-helper
mkdir -p $$OUT/daml2ts
tar xf $(location //language-support/ts/codegen:daml2ts-dist) --strip-components=1 -C $$OUT/daml2ts
mkdir -p $$OUT/studio
cp $(location //compiler/daml-extension:vsix) $$OUT/studio/daml-bundled.vsix
Expand Down

0 comments on commit 9c0fe75

Please sign in to comment.