Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Align with tools.build (future) #87

Closed
seancorfield opened this issue Jun 27, 2021 · 1 comment
Closed

Align with tools.build (future) #87

seancorfield opened this issue Jun 27, 2021 · 1 comment
Assignees

Comments

@seancorfield
Copy link
Owner

This is a follow-on from #82 to align the various tasks with how tools.build works and to clean up the exit logic on various tasks (now that -X handles that properly).

seancorfield added a commit that referenced this issue Jul 11, 2021
Adds an example build.clj file with depstar versions of jar and uber
swapped in.
@seancorfield
Copy link
Owner Author

So far I've created hf.depstar.api/jar and hf.depstar.api/uber which are intended to be drop-in replacements for tools.build.api/jar and tools.build.api/uber but have depstar's logic for merging licenses etc.

The specific behavior of compile-clj and write-pom look a little harder to replace directly as drop-in functions, due to the assumptions baked into both of those about inputs and outputs so I'm inclined to not try to replicate those.

It would definitely make sense to have "complete" versions of these functions in the API tho', or at least align what's in hf.depstar to work better with -X and therefore be more easily callable from build.clj.

@seancorfield seancorfield self-assigned this Jul 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant