8000 Provide an API/example on how to compile using JS · Issue #14 · ton-community/tact · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 26, 2023. It is now read-only.

Provide an API/example on how to compile using JS #14

Open
mrbonezy opened this issue Dec 25, 2022 · 2 comments
Open

Provide an API/example on how to compile using JS #14

mrbonezy opened this issue Dec 25, 2022 · 2 comments

Comments

@mrbonezy
Copy link
Contributor

Is it possible to invoke the compiler from a JS API instead of a separate process? (Similar to ton-compiler)

@ex3ndr
Copy link
Contributor
ex3ndr commented Dec 25, 2022

Most of the time, compiler call compileProjects -

export async function compileProjects(configPath: string, projectNames: string[] = []) {

@mrbonezy
Copy link
Contributor Author

Related to #15 - if this the API, it should allow passing in the config directly and not rely on a file system.
This way we could run tact compilation in a browser (the config would need to allow returning artifacts in a json)

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

No branches or pull requests

2 participants
0