mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
c6ed4427ee
Why? This is a terrible introductory application. We have no expertise in web development (it's terribly outdated and we don't have the knowledge to update it), so steering newcomers in that direction is disputable at best. This example (and the associated documentation) spends more time discussing (a very old version of) TypeScript than Daml. The use-case presented is not one that showcases the strength of either the Daml language or the underlying Canton ledger. It's not even a distributed application as it assumes a single ledger. At best, this template presents Daml as a DDL for simple wep API definitions, but one where the resulting generated code provides no support for authentication, external API calls, or any common server-side tasks like sending emails. Why now? As we start working in parallel on 2.9 and 3.0, we are faced with the perspective of having to do two weekly snapshots and thus having to test both of them. Removing create-daml-app from the 3.0 branch alleviates the testing burden quite a bit. Daml 3.0 will be a long-term effort, and we have plenty of time to figure out what should replace create-daml-app for this new version. If this template was bad at showcasing Daml 2 strength, it's an even worse fit for Daml 3. Note that this PR removes a lot of additional tests, notably compatibility ones. They live on in the main-2.x branch, where compatibility tests also run.
81 lines
2.0 KiB
Cheetah
81 lines
2.0 KiB
Cheetah
version: __VERSION__
|
|
commands:
|
|
- name: studio
|
|
path: daml-helper/daml-helper
|
|
desc: "Launch Daml Studio"
|
|
args: ["studio"]
|
|
completion: true
|
|
- name: new
|
|
path: daml-helper/daml-helper
|
|
desc: "Create a new Daml project"
|
|
args: ["new"]
|
|
completion: true
|
|
- name: init
|
|
path: daml-helper/daml-helper
|
|
desc: "Configure a folder as a Daml project"
|
|
args: ["init"]
|
|
completion: true
|
|
- name: build
|
|
path: damlc/damlc
|
|
args: ["build"]
|
|
desc: "Build the Daml project into a DAR file"
|
|
completion: true
|
|
- name: test
|
|
path: damlc/damlc
|
|
args: ["test"]
|
|
desc: "Run the scripts in the given Daml file and all dependencies"
|
|
completion: true
|
|
- name: start
|
|
path: daml-helper/daml-helper
|
|
args: ["start"]
|
|
desc: "Launch Sandbox for current Daml project"
|
|
completion: true
|
|
- name: clean
|
|
path: damlc/damlc
|
|
args: ["clean", "--project-check"]
|
|
desc: "Delete build artifacts from project folder"
|
|
completion: true
|
|
- name: damlc
|
|
path: damlc/damlc
|
|
desc: "Run the Daml compiler"
|
|
completion: true
|
|
- name: sandbox
|
|
path: daml-helper/daml-helper
|
|
desc: "Launch Canton Sandbox"
|
|
args: ["sandbox"]
|
|
- name: ledger
|
|
path: daml-helper/daml-helper
|
|
desc: "Interact with a Daml ledger"
|
|
args: ["ledger"]
|
|
completion: true
|
|
- name: packages
|
|
path: daml-helper/daml-helper
|
|
desc: "Query packages of a remote Daml ledger"
|
|
args: ["packages"]
|
|
completion: true
|
|
- name: codegen
|
|
path: daml-helper/daml-helper
|
|
desc: "Run a language bindings code generation tool"
|
|
args: ["codegen"]
|
|
completion: true
|
|
- name: deploy
|
|
path: daml-helper/daml-helper
|
|
desc: "Deploy Daml project to a ledger"
|
|
args: ["deploy"]
|
|
completion: true
|
|
- name: ide
|
|
path: damlc/damlc
|
|
args: ["ide"]
|
|
- name: script
|
|
path: daml-helper/daml-helper
|
|
args: ["run-jar", "--logback-config=daml-sdk/script-logback.xml", "daml-sdk/daml-sdk.jar", "script"]
|
|
desc: "Run a Daml script"
|
|
- name: repl
|
|
path: damlc/damlc
|
|
args: ["repl"]
|
|
desc: "Launch the Daml REPL"
|
|
- name: canton-console
|
|
path: daml-helper/daml-helper
|
|
desc: "Launch the Canton Sandbox Console"
|
|
args: ["canton-console"]
|