This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-25
Channels
- # aleph (15)
- # beginners (65)
- # boot (46)
- # chestnut (3)
- # cider (1)
- # clara (11)
- # cljs-dev (5)
- # cljsjs (4)
- # cljsrn (13)
- # clojure (180)
- # clojure-dev (2)
- # clojure-italy (10)
- # clojure-russia (62)
- # clojure-spec (6)
- # clojure-uk (85)
- # clojurescript (45)
- # community-development (11)
- # crypto (3)
- # cursive (10)
- # datomic (94)
- # defnpodcast (2)
- # fulcro (4)
- # heroku (1)
- # hoplon (4)
- # jobs (3)
- # juxt (10)
- # leiningen (1)
- # luminus (4)
- # mount (13)
- # music (1)
- # off-topic (10)
- # onyx (2)
- # portkey (15)
- # proton (2)
- # re-frame (16)
- # reagent (10)
- # shadow-cljs (194)
- # spacemacs (2)
- # specter (2)
hi. is it possible to use boot with jitpack? I tried to follow this article but seems like it doesn't work. https://lambdaisland.com/blog/17-05-2017-loading-clojure-libraries-directly-from-github
@dominicm ok, so here is what I did. I added :repositories [["jitpack" "
to build.boot first. then I added my dependency in a form [com.github.github-name/my-project-name "git-tag"]
it failed with exception like
org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact org.clojure:clojure:jar:1.8.0 in jitpack ()
artifact: #object[org.sonatype.aether.util.artifact.DefaultArtifact 0x1b266842 "org.clojure:clojure:jar:1.8.0"]
repository: #object[org.sonatype.aether.repository.RemoteRepository 0x738dc9b "jitpack (, releases+snapshots)"]
Well, two options, use merge-env!
which merges for you, or use a function:
(set-env! :repositories #(conj % ["datomic" {:url "
@dominicm I'm still trying. exception is gone, which is a good sign 🙂 but my artifact is still not available for some reason
clojure.lang.ExceptionInfo: Could not find artifact com.github.mbuczko:skalar:jar:v0.0.4 in clojars ( )
repositories also seem to be ok:
boot.user=> (get-env :repositories)
[["clojars" {:url " "}] ["maven-central" {:url ""}] ["jitpack" {:url ""}]]
Looks like jitpack works by building your project, but they cannot build when you use boot.
https://jitpack.io/docs/BUILDING/#build-customization you could try this & install boot
<mailto:[email protected]|[email protected]> on that BUILDING page, they suggest sending an email for other tools you're interested in, which seems worthwhile to me.
all the building process goes on the client side, does it? I mean, when I specify boot
as install command it will be fired on my own machine?
they might have a little more difficulty doing it with boot, as everyone can theoretically setup their project differently. They'd need to encourage a convention / config of the boot task to run.
I suppose, if you want to override the boot task(s), you create a jitpack.yml and specify it
yup. I will try to ping them and ask again for boot support. in case of any questions from their side I will come back here to figure our together some reasonable solution
Hello everyone. I'm trying to use :checkout
dependencies between 2 boot projects, a lib that I'm building and a project. The lib side is fine, boot watch build
does what you expect. The project side isn't, when I try to load the dependency in the repl it says java.io.FileNotFoundException: could not locate XXX blabalbla.
Lib's build.boot :
(task-options!
pom {:project com.toto/tata
:version "0.1.0-SNAPSHOT"}
repl {:port 9077})
(deftask build
"Build and install the project locally."
[]
(comp (pom) (jar) (install)))
Project's build.boot :
(set-env! :dependencies '[...]
:checkout '[[com.toto/tata "0.1.0-SNAPSHOT]])
have can I make sure that a process starts after another tasks? Le'ts say I am compiling cljs and only after that's completely finished I need to dosh
something?
for example, if I do this:
(comp
(watch)
(build-cljs)
(target)
(dosh "./node_modules/.bin/karma" "start"))
it would start karma prematurely and errors out, how can I make it "wait" for build-cljs to get done?Is dosh a task or just a normal function?