Skip to content
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

Compiled Archives #328

Closed
dselman opened this issue Mar 26, 2019 · 2 comments
Closed

Compiled Archives #328

dselman opened this issue Mar 26, 2019 · 2 comments

Comments

@dselman
Copy link
Contributor

dselman commented Mar 26, 2019

To support efficient execution of Cicero archives it is useful to be able to pre-compile them to a target runtime offline/once.

Also see: #258

This metadata field can then be used by the Template.fromArchive and Template.fromDirectory code to either reject loading the archive, or to specialise the handling of the resources within the archive.

The proposed format is:

"accordproject": {
        "template": "contract",
        "ergo": "0.7.3",
        "cicero": "^0.11.1"
        "runtime": "cicero"
    },
@jeromesimeon
Copy link
Member

Great idea. Note that we could consider removing the language tag in the package.json after that, since it would always be Ergo.

@jeromesimeon
Copy link
Member

Implemented in 0.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants