Giter Club home page Giter Club logo

base16-builder-ruby's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

base16-builder-ruby's Issues

Output at proj/out, not proj/templates/out

The spec is a bit ambiguous regarding this, since it's not clear what the template root is. But all Chris repos (and others too) have the structure:

proj
   templates/...
   out/...

while your builder produces:

proj
   templates/out

Undefined `[]' for nil:NilClass (NoMethodError)

Hi, I have this issue when I try to build with ./builder:

building out/colors/base16-porple.kak
/media/pawamoy/Data/git/pawamoy/pawamoy.github.io/base16-builder-ruby/src/template.rb:52:in `block in build_template_data': undefined method `[]' for nil:NilClass (NoMethodError)
	from /media/pawamoy/Data/git/pawamoy/pawamoy.github.io/base16-builder-ruby/src/template.rb:49:in `each'
	from /media/pawamoy/Data/git/pawamoy/pawamoy.github.io/base16-builder-ruby/src/template.rb:49:in `build_template_data'
	from /media/pawamoy/Data/git/pawamoy/pawamoy.github.io/base16-builder-ruby/src/template.rb:25:in `block in render'
	from /media/pawamoy/Data/git/pawamoy/pawamoy.github.io/base16-builder-ruby/src/template.rb:24:in `each'
	from /media/pawamoy/Data/git/pawamoy/pawamoy.github.io/base16-builder-ruby/src/template.rb:24:in `render'
	from ./builder:51:in `block (2 levels) in build'
	from ./builder:50:in `each'
	from ./builder:50:in `block in build'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/parallel-1.11.1/lib/parallel.rb:484:in `call_with_index'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/parallel-1.11.1/lib/parallel.rb:453:in `process_incoming_jobs'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/parallel-1.11.1/lib/parallel.rb:435:in `block in worker'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/parallel-1.11.1/lib/parallel.rb:426:in `fork'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/parallel-1.11.1/lib/parallel.rb:426:in `worker'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/parallel-1.11.1/lib/parallel.rb:417:in `block in create_workers'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/parallel-1.11.1/lib/parallel.rb:416:in `each'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/parallel-1.11.1/lib/parallel.rb:416:in `each_with_index'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/parallel-1.11.1/lib/parallel.rb:416:in `create_workers'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/parallel-1.11.1/lib/parallel.rb:358:in `work_in_processes'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/parallel-1.11.1/lib/parallel.rb:264:in `map'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/parallel-1.11.1/lib/parallel.rb:217:in `each'
	from ./builder:49:in `build'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/thor-0.19.4/lib/thor/command.rb:27:in `run'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch'
	from /home/pawamoy/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/thor-0.19.4/lib/thor/base.rb:444:in `start'
	from ./builder:59:in `<main>'

I tried with both Ruby 2.3.3 and 2.4.0, same issue.

Requirements

Could you document the required Ruby modules needed for this? I had to play a game of run, install, run, install, run, install...

Slow performance

Cloning performance is really slow (unacceptable), and template building performance could be better.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.