tinted-theming / base16-builder-ruby Goto Github PK
View Code? Open in Web Editor NEWA Ruby implementation of a Base16 builder
License: MIT License
A Ruby implementation of a Base16 builder
License: MIT License
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
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.
Could you document the required Ruby modules needed for this? I had to play a game of run, install, run, install, run, install...
Cloning performance is really slow (unacceptable), and template building performance could be better.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.