#2000: Add local dev build script#2011
Conversation
Coverage Report for CI Build 27565488243Coverage increased (+0.03%) to 71.119%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats💛 - Coveralls |
-add packages from project directory
| * https://github.com/devonfw/IDEasy/issues/1849[#1849]: Add VSCodium support | ||
| * https://github.com/devonfw/IDEasy/issues/1391[#1391]: Fix bashrc messed with terraform completions | ||
| * https://github.com/devonfw/IDEasy/issues/1922[#1922]: Add Task CLI to IDEasy commandlets | ||
| * https://github.com/devonfw/IDEasy/issues/2000[#2000]: Add local dev build script |
There was a problem hiding this comment.
Story #2000 has no impact for end-users and is therefore labelled as internal.
Therefore, we do not add it to our changelog.
The idea of the changelog is to only highlight the fixed issues relevant for end-users (compared to the full details linked at the end on the GitHub milestone).
| * https://github.com/devonfw/IDEasy/issues/2000[#2000]: Add local dev build script |
| exit 1 | ||
| fi | ||
|
|
||
| SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" |
There was a problem hiding this comment.
BASH_SOURCE is used if a script is not executed but sourced (. build-local-dev.sh vs. ./build-local-dev.sh).
Do we need to source this script instead of running it?
Then you should actually check this and raise an error telling the user to source it if it was executed.
Otherwise you can directly do cd "$(dirname "$0")" instead (and PROJECT_DIR can be relative as ../../..).
BTW: Isn't PROJECT_DIR the same as IDE_HOME?
| echo "$GRAALVM_DIR" | ||
| echo | ||
| echo "Please install GraalVM first:" | ||
| echo "ideasy install graalvm" |
There was a problem hiding this comment.
| echo "ideasy install graalvm" | |
| echo "ide install graalvm" |
This PR fixes #2000
Implemented changes:
build-local-dev.shto build the local IDEasy native image and install it into alocal-devfolder.ideasy/ideasy.exeexecutable and native libraries intolocal-dev/bin.$IDE_ROOT/_ide/installationto point to the newlocal-devinstallation so the local build can be tested with regularideasycommands.Testing instructions
Please add conscise, understandable instructions on how a reviewer can test/verify the functionality of your contribution here:
Checklist for this PR
Make sure everything is checked before merging this PR. For further info please also see
our DoD.
mvn clean testlocally all tests pass and build is successful#«issue-id»: «brief summary»(e.g.#921: fixed setup.bat). If no issue ID exists, title only.In Progressand assigned to you or there is no issue (might happen for very small PRs)with
internal