From 07ebd43444957dd70c8b64d505d2fac34b9c34a9 Mon Sep 17 00:00:00 2001 From: "Timothy Rule (VM/EMT3)" Date: Wed, 16 Oct 2024 13:06:12 +0200 Subject: [PATCH] Lint Signed-off-by: Timothy Rule (VM/EMT3) --- README.md | 2 +- Taskfile.yml | 21 +++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 2727613..8e1eb04 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ FMI Libraries of the Dynamic Simulation Environment (DSE) Core Platform provide * FMI ModelC FMU - for packaging a DSE simulation as an FMU. * FMI Gateway FMU - for bridging between a remote simulation and a DSE simulation. -The DSE FMI libraries operate in Co-simulation environments and support both scalar and binary variables. +The DSE FMI libraries operate in Co-simulation environments and support both scalar and binary variables. Virtual networks (e.g. CAN) are implemented using [Network Codecs](https://github.com/boschglobal/dse.standards/tree/main/dse/ncodec) and supported via FMI Binary variables, or in the case of FMI 2, by using encoded [FMI String variables](https://github.com/boschglobal/dse.standards/tree/main/modelica/fmi-ls-binary-to-text). diff --git a/Taskfile.yml b/Taskfile.yml index 0656d77..cff81ba 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -1,7 +1,8 @@ +--- version: '3' vars: - # When running from E2E tests (i.e. Docker in Docker), the ENTRYDIR (for + # When running from E2E tests (i.e. Docker in Docker), the ENTRYDIR (for # Docker commands) must be set to the host relative path. ENTRYDIR: '{{if .SIM}}{{.ENTRYWORKDIR}}/{{.SIM}}{{else}}{{.PWD}}{{end}}' # Container image specification. @@ -54,9 +55,9 @@ tasks: MCL_PATH: '{{.MCL_PATH | default "MCL_PATH_NOT_SPECIFIED"}}' PLATFORM: "{{if .PLATFORM}}--platform '{{.PLATFORM}}'{{else}}{{end}}" cmds: - - docker run --rm - -v {{.ENTRYDIR}}:/sim - {{.FMI_IMAGE}}:{{.FMI_TAG}} + - docker run --rm + -v {{.ENTRYDIR}}:/sim + {{.FMI_IMAGE}}:{{.FMI_TAG}} gen-mcl --fmu {{.FMU_DIR}} --outdir {{.OUT_DIR}} @@ -74,9 +75,9 @@ tasks: INPUT: '{{.INPUT | default "INPUT_NOT_SPECIFIED"}}' OUTPUT: '{{.OUTPUT | default "OUTPUT_NOT_SPECIFIED"}}' cmds: - - docker run --rm - -v {{.ENTRYDIR}}:/sim - {{.FMI_IMAGE}}:{{.FMI_TAG}} + - docker run --rm + -v {{.ENTRYDIR}}:/sim + {{.FMI_IMAGE}}:{{.FMI_TAG}} gen-signalgroup --input {{.INPUT}} --output {{.OUTPUT}} @@ -97,9 +98,9 @@ tasks: UUID: "{{if .UUID}}--uuid '{{.UUID}}'{{else}}{{end}}" OUT_DIR: '{{.OUT_DIR | default "out"}}' cmds: - - docker run --rm - -v {{.ENTRYDIR}}:/sim - {{.FMI_IMAGE}}:{{.FMI_TAG}} + - docker run --rm + -v {{.ENTRYDIR}}:/sim + {{.FMI_IMAGE}}:{{.FMI_TAG}} gen-fmu --sim {{.SIM}} --name {{.FMU_NAME}}