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

rofl: Add option to use native build tooling or docker for building #327

Open
matevz opened this issue Dec 3, 2024 · 2 comments
Open

rofl: Add option to use native build tooling or docker for building #327

matevz opened this issue Dec 3, 2024 · 2 comments
Assignees
Labels
rofl ROFL related CLI issues

Comments

@matevz
Copy link
Member

matevz commented Dec 3, 2024

Following https://docs.oasis.io/rofl/prerequisites is pretty demanding. Could we ask people to install the Oasis CLI on their platform and then simply run oasis rofl init to install all dependencies etc. based on their OS (or expect them to have docker installed and install the rofl-dev image). Also populate the project with a simple ROFL example rust code, solidity contract and add rofl.yml.

ps. Check out similar helpers such as forge init, hardhat init, cargo init, npm init for more ideas.

@matevz matevz self-assigned this Dec 3, 2024
@matevz matevz added the rofl ROFL related CLI issues label Dec 3, 2024
@kostko
Copy link
Member

kostko commented Dec 19, 2024

It would probably be easier to just use a predefined container for building, with all dependencies already installed. Otherwise it will be a pain to get right for all possible combinations.

@matevz matevz assigned kostko and matevz and unassigned matevz and kostko Jan 13, 2025
@matevz matevz changed the title cli: oasis rofl init rofl: Add option to use native build tooling or docker for building (was oasis rofl init) Jan 13, 2025
@kostko
Copy link
Member

kostko commented Jan 13, 2025

Oh the new oasis rofl init from #335 has nothing to do with dependencies, but rather it initializes a new ROFL app project. Initializing dependencies and/or running tooling in Docker container should be totally separate from implementing the init command.

@kostko kostko changed the title rofl: Add option to use native build tooling or docker for building (was oasis rofl init) rofl: Add option to use native build tooling or docker for building Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rofl ROFL related CLI issues
Projects
None yet
Development

No branches or pull requests

2 participants