irsol has quit [Remote host closed the connection]
ics has joined #nanoc
ics has quit [Ping timeout: 245 seconds]
irsol has joined #nanoc
alerante has quit [Remote host closed the connection]
ics has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 240 seconds]
TobiasFar has quit [Ping timeout: 255 seconds]
TobiasFar has joined #nanoc
ics has quit [Ping timeout: 264 seconds]
<
ddfreyne>
guardian: I don't think such a setting is necessary (you can put it in a lib and require it)
<
ddfreyne>
after_setup should create and add the command to the CLI
<
ddfreyne>
It doesn't really matter when you call it
<
guardian>
ddfreyne: such setting? == being able to configure from which dirs commands get loaded?
<
ddfreyne>
guardian: yes
<
guardian>
oh well I'm not so convinced it's useless
alerante has joined #nanoc
<
guardian>
it's again my setup where a nanoc site has a _factory submodule
alerante has quit [Changing host]
alerante has joined #nanoc
<
guardian>
there are _factory/nanoc.yaml, _factory/Rules, _factory/lib
<
guardian>
code from _factory/lib gets loaded thanks to the lib_dirs array in @config
<
guardian>
and now I would like to have commands from _factory/commands to be registered
<
guardian>
so I thought I could go with a :commands_dirs setting in config, same as :lib_dirs
alerante has quit [Ping timeout: 245 seconds]
<
ddfreyne>
guardian: you can let the code in _factory/lib load the commands using after_setup though
<
guardian>
ddfreyne: I'm going to try that
<
guardian>
ddfreyne: but well, not having things hardcoded is more flexible imho
<
guardian>
ddfreyne: can you remind me how to puts to stdout after I have entered binding.pry while executing bundle exec rake test ???
<
guardian>
ddfreyne: I can't see how it's possible to register commands with code in _factory/lib, even with after_setup
<
guardian>
ddfreyne: code in lib/ gets executed when site is loaded, and site is loaded only when compiling
<
guardian>
ddfreyne: so that doesn't seem to fly
cDlm has quit [Quit: Computer has gone to sleep.]
cDlm has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 250 seconds]
francois2 has quit [*.net *.split]
stbuehler has quit [*.net *.split]
stbuehler has joined #nanoc
francois2 has joined #nanoc
ics has joined #nanoc
mpajor has joined #nanoc
ctp has joined #nanoc
jugglinmike has joined #nanoc
alerante has joined #nanoc
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alerante has quit [Ping timeout: 240 seconds]
alerante has joined #nanoc
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
ics has quit [Ping timeout: 245 seconds]
ics has joined #nanoc
ics_ has joined #nanoc
ics__ has joined #nanoc
ics has quit [Ping timeout: 260 seconds]
ics_ has quit [Ping timeout: 260 seconds]
ics__ has quit [Ping timeout: 260 seconds]
ics has joined #nanoc
cDlm has quit [Quit: Computer has gone to sleep.]
alerante has quit [Remote host closed the connection]
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jarr0dsz has joined #nanoc
alerante has joined #nanoc
<
ddfreyne>
guardian: Ah yeah, you're right.
ics has joined #nanoc
ctp has joined #nanoc
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alerante has quit []
ctp has joined #nanoc
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<
guardian>
ddfreyne: the PR is harmless imho
jarr0dsz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cDlm has joined #nanoc
VitamineD has joined #nanoc
cDlm has quit [Read error: Connection reset by peer]
ctp has joined #nanoc
jugglinmike has quit [Quit: Leaving.]
ics has joined #nanoc