-
Notifications
You must be signed in to change notification settings - Fork 323
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
Bazel build system #11337
base: develop
Are you sure you want to change the base?
Bazel build system #11337
Conversation
Using latest JDK (after proper GraalVM integration) broke compilation of Scala projects due to a problem with SecurityManager in `scala_rules`. Workaround it by having custom toolchain. Added example BUILD for mixed Scala/Java project with a small number of dependencies.
🧪 Storybook is successfully deployed!📊 Dashboard:
|
Please run the nightly workflow on this branch to make sure that it does not break the release https://github.com/enso-org/enso/actions/workflows/nightly.yml
|
Otherwise, I'm ok with the change even though it edits the generated workflow files. I can update the workflow generation logic after the merge to unblock the progress on the Bazel build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving but please address the minor comments.
Pretty sure this is going to break something but we can address it on a per-need basis.
|
||
/** Company name, used as the copyright holder. */ | ||
export const COMPANY_NAME: string | ||
export const COMPANY_NAME: string = 'New Byte Order sp. z o.o.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that's correct. It should be
export const COMPANY_NAME: string = 'New Byte Order sp. z o.o.' | |
export const COMPANY_NAME: string = 'Enso International, Inc.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about this. This PR doesn't actually change that value. I just combined index.js
/index.d.ts
into a single index.ts
file. You can see previous assignment here:
Line 22 in e5a1c5a
export const COMPANY_NAME = 'New Byte Order sp. z o.o.' |
@@ -0,0 +1,23 @@ | |||
# CAUTION: this file is intentionally NOT ignored. If you want to override those variables, create an `.env.local` file. | |||
ENSO_IDE_AG_GRID_LICENSE_KEY= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's gonna break a lot of local dev setups and should definitely be documented/announced appropriately
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The point of this is to be a safe fallback that you don't have to worry about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will provide a temlate .env.local
file on Discord when the PR lands.
@4e6 Oh, it is not supposed to do that. Running |
Sorry, I did not notice the changes in |
Does this change anything about our daily dev workflow or are the changes only relevant to CI? |
The changes are made specifically to not require any local setup changes yet. Things that are already fully ported to bazel right now run automatically. Everything else stays the same for now. |
This reverts commit cdecec1.
Pull Request Description
Created a bazel-based build system, implemented a whole GUI build target within it.
Currently this PR open in order to develop and test the github actions workflow.