These are chat archives for opal/opal

27th
Nov 2015
Elia Schito
@elia
Nov 27 2015 08:29
👏🏼 and to all contributors too!
Martin Becker
@Thermatix
Nov 27 2015 13:17
How do I tell yardoc to include the asset folder for documentation purposes?
Because it only wants to included the lib folder
Elia Schito
@elia
Nov 27 2015 14:22
@Thermatix you specify the glob it needs to use, eg yard '{lib,opal}/**/*.rb'
Martin Becker
@Thermatix
Nov 27 2015 15:23
OH
Forrest Chang
@fkchang
Nov 27 2015 20:15
@elia is there a current "recommended" way for opal gems to be structured, it seems the opal subdir is not being used in a lot of new gems
Elia Schito
@elia
Nov 27 2015 20:20
I'd say it's better to use lib where possible and use RUBY_ENGINE to do the switch
@fkchang kinda like it's done in jquery
one advantage is that you can do opal --gem opal-jquery and it works
but feedback is very welcome:)
Forrest Chang
@fkchang
Nov 27 2015 20:24
ok, I'll give that a shot
@elia we should document the current best practice
Elia Schito
@elia
Nov 27 2015 20:35
indeed, also telling the reasoning behind it and the alternative