Fork me on GitHub
#boot
<
2015-07-24
>
mitchelkuijpers09:07:45

@crisptrutski: Awesome work on the cljs-test thank you sir using it for two days now without any hickups simple_smile

crisptrutski09:07:59

thanks! @bensu also deserves a lot of credit for https://github.com/bensu/doo (i just made it bootiful)

mitchelkuijpers09:07:05

Definitely cljs testing used to be absolutely horrible to setup, but @bensu fixed this

colin.yates09:07:27

@crisptrutski: you should be shot for that pun! simple_smile

meow12:07:17

I'm testing the lein-generate task for cursive users as described on the wiki and it is failing so if anyone can help me out a bit I'd like to get it working. https://github.com/boot-clj/boot/wiki/For-Cursive-Users

meow12:07:11

The error is java.lang.RuntimeException: No such namespace: io

meow12:07:36

That's from line 3 which is trying to do pfile (io/file "project.clj")

meow12:07:07

What I'm not sure about is what's available for this sort of thing in a profile.boot file?

mitchelkuijpers12:07:07

@meow: it's just clojure

meow12:07:58

ok, but we don't declare a namespace so would that be the require function then?

meow12:07:57

(require '(clojure.java io))

meow12:07:47

I haven't been using clojure for very long so I'm still getting my head around some of this.

martinklepsch12:07:38

@meow: this should help with requiring things at runtime

mitchelkuijpers12:07:39

Was looking for that page but you beat me @martinklepsch πŸ˜‰

martinklepsch12:07:22

πŸ˜„ 😎

martinklepsch12:07:06

@meow: updated the wiki with a working version

martinklepsch12:07:22

@meow: let me know if this does all that’s needed for Cursive simple_smile

mitchelkuijpers13:07:45

Is there something in boot like a settings.xml for maven?

meow13:07:54

Thank you @mitchelkuijpers and @martinklepsch - that's working so far

mitchelkuijpers13:07:12

Or should we just fork bootlaces and use that?

meow13:07:29

bootlaces is very handy

meow13:07:57

there has been talk of moving bootlaces functionality into boot core

meow13:07:51

Should a task defined in profile.boot show up in boot -h? Because the lein-generate task is not.

mitchelkuijpers13:07:28

@meow: I am mostly talking about the fact that we have a private nexus where I would like to push and pull dependencies from with some credentials

mitchelkuijpers13:07:21

But if i fork it and put in that nexus i am still screwed πŸ˜›

martinklepsch13:07:30

mitchelkuijpers: you can add/change repos by setting options for boot push -h manually after calling bootlaces! I believe

mitchelkuijpers13:07:35

@martinklepsch: Yeah that's what I am doing, but i was wondering if there is something to have some default repository mirrors for every boot project that boot tries in the spirit of a maven settings.xml file

martinklepsch13:07:27

is that settings.xml file to be part of the repo?

martinklepsch13:07:41

you can set task options in profile.boot as well

mitchelkuijpers13:07:46

Aha that's a good idea

mitchelkuijpers13:07:11

Pretty obvious but I needed someone to tell me that

meow13:07:49

Yeah, this lein-generate is the first time I'm making use of profile.boot

meow13:07:29

Which brings me back to my question, why don't tasks defined in profile.boot show up in boot -h?

martinklepsch13:07:44

@meow: they do for me.

meow13:07:56

@martinklepsch: I'm getting a weird result.

meow13:07:28

If I run boot -h in my project directory I see the following:

deploy                     No description provided.
         dev                        Set env and task options for development use.
                                     enerate a leiningen `project.clj` file.
         pro                        Set env and task options for production use.
         run                        Serve cljs application in browser with reload and repl.

meow13:07:50

so it was there, but the task name is missing and the first letter of the docstring is blanked out

meow13:07:11

If I run boot -h from an empty directory I get this:

Generate a leiningen `project.clj` file.

meow13:07:38

Still missing the task name, but the docstring looks fine.

martinklepsch13:07:09

huh, indeed weird.

martinklepsch13:07:40

No immediate idea what that could be caused by. Also need to pack & run very soon simple_smile

meow14:07:55

@martinklepsch: I updated the wiki page and added a suggestion that they add the code to their profile.boot file.

meow14:07:54

I'll see if @micha or @alandipert or @juhoteperi have any idea why I'm seeing the weird results when I do boot -h. I suspect it has something to do with Windows, perhaps.

meow14:07:16

The only other question I have is about the task name of lein-generate. In my version I called it lein-project because lein-generate seemed more generic and made me think of lein new foo-template.