-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundle packages with SDK releases #3056
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, thank you!
compiler/damlc/lib/DA/Cli/Damlc.hs
Outdated
mbSdkPath <- handleIO (\_ -> pure Nothing) $ Just <$> getSdkPath | ||
let isSdkPackage fp = takeExtension fp /= ".dar" | ||
handleSdkPackages :: [FilePath] -> IO [FilePath] | ||
handleSdkPackages = case mbSdkPath of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be easier to read if you do the case split inside of expand
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed that's clearer, I've changed the code.
I figured lifting the case match outside was probably more efficient. But, that's likely premature optimization and not really necessary.
Rename the trigger library package to match other builtin packages.
5106ec4
to
786a19f
Compare
Closes #2979
$DAML_SDK/daml-libs
.daml.yaml
'sdependencies
by package name without.dar
extension.daml-trigger
package. (Package will change in the future)Pull Request Checklist
NOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with
/AzurePipelines run
totrigger the build.