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

Include prep step #5

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Include prep step #5

merged 1 commit into from
Feb 27, 2024

Conversation

dpsutton
Copy link
Contributor

lets you do the following:

❯ cat deps.edn
{:deps {mb/macaw {:local/root "/Users/dan/projects/work/macaw"}}}

❯ clj
Error building classpath. The following libs must be prepared before use: [mb/macaw]

❯ clj -X:deps prep
Prepping mb/macaw in /Users/dan/projects/work/macaw
Note: Annotation processing is enabled because one or more processors were found
  on the class path. A future release of javac may disable annotation processing
  unless at least one processor is specified by name (-processor), or a search
  path is specified (--processor-path, --processor-module-path), or annotation
  processing is enabled explicitly (-proc:only, -proc:full).
  Use -Xlint:-options to suppress this message.
  Use -proc:none to disable annotation processing.
Note: ./java/com/metabase/macaw/ASTWalker.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

❯ clj
Clojure 1.11.1
user=> (require 'macaw.core)
nil
user=>

lets you do the following:

```shell
❯ cat deps.edn
{:deps {mb/macaw {:local/root "/Users/dan/projects/work/macaw"}}}

❯ clj
Error building classpath. The following libs must be prepared before use: [mb/macaw]

❯ clj -X:deps prep
Prepping mb/macaw in /Users/dan/projects/work/macaw
Note: Annotation processing is enabled because one or more processors were found
  on the class path. A future release of javac may disable annotation processing
  unless at least one processor is specified by name (-processor), or a search
  path is specified (--processor-path, --processor-module-path), or annotation
  processing is enabled explicitly (-proc:only, -proc:full).
  Use -Xlint:-options to suppress this message.
  Use -proc:none to disable annotation processing.
Note: ./java/com/metabase/macaw/ASTWalker.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

❯ clj
Clojure 1.11.1
user=> (require 'macaw.core)
nil
user=>
```
@@ -1,6 +1,7 @@
;; Further info: https://clojure.org/guides/tools_build#_mixed_java_clojure_build

(ns build
(:refer-clojure :exclude [compile])
Copy link
Contributor

Choose a reason for hiding this comment

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

lol, thanks 😅

Copy link
Contributor

@tsmacdonald tsmacdonald left a comment

Choose a reason for hiding this comment

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

Awesome, thanks Dan!

@tsmacdonald tsmacdonald merged commit 817e253 into master Feb 27, 2024
4 checks passed
@tsmacdonald tsmacdonald deleted the prep-step branch February 27, 2024 20:17
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.

2 participants