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

Implement custom build targets #19

Merged
merged 4 commits into from
Jul 13, 2019
Merged

Implement custom build targets #19

merged 4 commits into from
Jul 13, 2019

Conversation

tindzk
Copy link
Owner

@tindzk tindzk commented Jul 12, 2019

Up until now, Seed users had to write shell scripts in order to
build non-Scala artefacts. This proved difficult when artefacts had
to be built in multiple dependent modules and copied over to the
root project's build path.

These changes allow to define custom build targets on any module. A
custom build target can run a command or class. The execution is
synchronous or asynchronous. Environment variables are defined which
allow the scripts to access the build path and module's project
path. For each build target, an IDEA module is generated if the root
path is set. Build targets can run be run in watch mode.

Further changes:

  • Introduce a new CLI command build, similar to link. Both
    execute build targets transitively.
  • Fix seed link command when --watch was omitted. The process
    terminated immediately without waiting for Bloop to finish.

For more information, please refer to the updated README.

@tindzk tindzk force-pushed the feat/custom-targets branch 3 times, most recently from 5e18975 to cd77cdc Compare July 12, 2019 16:27
Up until now, Seed users had to write shell scripts in order to
build non-Scala artefacts. This proved difficult when artefacts had
to be built in multiple dependent modules and copied over to the
root project's build path.

These changes allow to define custom build targets on any module. A
custom build target can run a command or class. The execution is
synchronous or asynchronous. Environment variables are defined which
allow the command/class to access the build path and module's project
path. For each build target, an IDEA module is generated if the root
path is set. Build targets can run be run in watch mode.

Further changes:
- Introduce a new CLI command `build`, similar to `link`. Both
  execute build targets transitively.
- Fix `seed link` command when `--server` is omitted. The process
  terminated immediately without waiting for Bloop to finish.

For more information, please refer to the updated README.
@tindzk tindzk force-pushed the feat/custom-targets branch 2 times, most recently from 498a8d0 to 788c09d Compare July 13, 2019 07:54
@tindzk tindzk merged commit 5de1af8 into master Jul 13, 2019
@tindzk tindzk deleted the feat/custom-targets branch July 13, 2019 08:11
@nafg nafg mentioned this pull request Jul 15, 2019
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.

1 participant