Fork me on GitHub
#boot
<
2017-06-07
>
qqq00:06:53

does boot reload also work with opt-whitespace, or does it absolutely require opt-none ?

joeharrow14:06:14

hey everyone, anyone have some tips on how they configure boot for different environments (dev, test, prod, etc.)?

dominicm14:06:34

@joeharrow boot run -p dev 😉

dominicm14:06:39

and the clojure takes care of the rest

joeharrow15:06:22

@dominicm I'm getting unknown option: "-p"

dominicm15:06:10

@joeharrow sorry, I should have been a little clearer. We define a task (e.g. run), which takes a -p option, for the profile to use. Maybe for you it could be -e for environment 🙂

joeharrow15:06:43

ok, thank you. i'll try that

pandeiro18:06:52

is it possible to use Boot's defclifn from boot.cli as a regular library, ie bundle it into an uberjar and use it?

richiardiandrea18:06:28

@pandeiro do you need that specific one? I think it is borrowed from somewhere, can't recall where

pandeiro18:06:37

@richiardiandrea Yeah I'll just use clojure.tools.cli instead, which is fine

richiardiandrea18:06:49

yeah I was going to add that

kanwei21:06:51

How do I get STDOUT output to show up in the console when running boot dev?

richiardiandrea21:06:08

@kenbier the cljs.edn file in resources seems odd...you usually put in a subfolder of src

kanwei21:06:08

Using logback and nothing is showing

richiardiandrea21:06:21

unless you know what you are doing of course 😉

kenbier21:06:54

@richiardiandrea mm copied from another project i didn’t start

kenbier21:06:13

if i move over the edn file to src/, would that fix the issue?

kenbier21:06:42

if i did that, where would the file compile to?

mattyulrich21:06:56

Hi all - I'm trying to use multiple repositories in my build.boot file; however it doesn't seem to search the alternate repo... any thoughts?

richiardiandrea21:06:27

usually the file .js is materialized in the same (potentially nested) folder

richiardiandrea21:06:04

of course in the output

raywillig21:06:06

@mattyulrich can you show the relevant part of build.boot? you may be overwriting repo list rather than conj ing

mattyulrich21:06:59

🙂 Well I just realized I had a typo in my second repo url..

mattyulrich21:06:16

I fixed that and now it's resolving....

mattyulrich21:06:29

Sometimes, copying to paste into slack fixes the issue! 🙂 Thanks for the reply.

kenbier23:06:03

@richiardiandrea ah turns out it was an issue in my middleware

kenbier23:06:21

adding ring site-defaults and setting the static resources to “/” fixed the issue