Skip to content

Documentation for building saved parsers/testing daffodil version without updating build.sbt #54

@stevedlawrence

Description

@stevedlawrence

It's often useful to build a saved parser or run tests for a specific version of Daffodil without having to update build.sbt (e.g. for temporary testing). The best way to do this is with these shell commands:

Run tests

sbt \
  'set daffodilVersion := "X.Y.Z"' \
  'set daffodilPackageBinVersions := Seq("X.Y.Z")' \
  test

Build saved parser

sbt \
  'set daffodilPackageBinVersions := Seq("X.Y.Z")' \
  packageDaffodilBin

These commands are very useful but not commonly known. We should add them to the README so it's documented in a place where people are likely to look.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions