Skip to content

Conversation

@blaix
Copy link
Contributor

@blaix blaix commented Jun 19, 2025

Some TODOs we can discuss here but it's working.

@blaix blaix requested a review from robinheghan June 19, 2025 14:58
{ package = package
}
)
-- TODO: --package name (without equals) does not work. Is that expected?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a known bug I've been meaning to fix in compiler-node since forever.

makeProject config projectOutline =
when getOutputPath projectOutline is
Nothing ->
Task.fail NotAnApplication
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want this restriction? 🤔

Makes it more hassle to test the programs "shipped" with gren run --package

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless I'm missing something this would only happen if platform=common, which means you can't have browser or node packages which means you can't run any modules in your package.

@robinheghan robinheghan merged commit a84ed72 into main Jul 3, 2025
3 of 4 checks passed
@robinheghan robinheghan deleted the run-package branch July 3, 2025 17:28
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

Successfully merging this pull request may close these issues.

3 participants