This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-07-07
Channels
haha boot protip:
$ boot repl
nREPL server started on port 35606 on host 127.0.0.1 -
REPL-y 0.3.5, nREPL 0.2.8
Clojure 1.7.0
OpenJDK 64-Bit Server VM 1.8.0_45-internal-b14
Exit: Control+D or (exit) or (quit)
Commands: (user/help)
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Find by Name: (find-name "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Examples from : [clojuredocs or cdoc]
(user/clojuredocs name-here)
(user/clojuredocs "ns-here" "name-here")
boot.user=> (set-env! :dependencies [[:tailrecursion/warp "0.1.0"]])
Retrieving warp-0.1.0.jar from
nil
oh wow, it just works?
how about :tailrecursion/warp:0.1.0
gradle style
-esque
i guess because scopes and exclusions
@estsauver: not yet, but I'd like to
How do I teach boot to compile my Clj macros for Cljs?
In set-env! I have :source-paths #{"src/clj" "src/cljs"}
, but Boot is complaining about my require-macros reference: clojure.lang.ExceptionInfo: No such namespace: plus.utils
where plus is my project name.
(ns plus.app
(:require-macros [plus.utils :refer [handler-fn]]) ; <-- here is the thing
(:require [reagent.core :as reagent :refer [atom]]
[plus.forms :as f]))
Hey, is there a boot ‘release’ task. Similar to lein release
, that handles version changing, git tagging, optional pushing, etc.?
@andrewmcveigh: there is a library for doing stuff like this that we use at adzerk, may be useful https://github.com/adzerk-oss/bootlaces
it's mostly configuration over builtin tasks like pom, push, etc. but it's a good tour of what's possible
@petrus: you have a src/clj/plus/utils.clj
in your project i take it?
Thanks, alandipert. I just figured it out: I made the mistake of adding my clj namespace to app.cljs.edn
no prob, glad you found it
@alandipert: thanks, I’m using bootlaces (a bit). Though I’ve found it a bit tricky. I had to turn off things like :ensure-tag, and :ensure-clean.
They were causing the build to fail.
I think it wasn’t taking into account ~/.gitignore
, and the scm tag in pom.xml
was always HEAD
.
Not a big deal though.
@andrewmcveigh: have you considered rolling your changes into a new library called boot-release
and becoming a celebrity within the community of boot users?
@alandipert: I’ve not really got there yet, but I’ll consider it… 😁
haha ok
😎 📷 📰 🌴
@micha: Ah, cool. Thanks.
andrewmcveigh: https://github.com/boot-clj/boot/commit/d8782413a16bfafbc0a069bf2a77ae74c029a5ca
Yeah, it was :ensure-tag
that was causing the HEAD
issue.
Wasn’t really much of a problem. Was just trying to get a quick snapshot on clojars.
@juhoteperi: yes, I think it’s better if the header text was not wrapped in anchor. I liked how github did it. So the header is not the link, but the small icon near is