Sha256: d64aa7379a39b3b00d34c65a1d5c081e9652ff8eb81094f791186cd03750137a
Contents?: true
Size: 541 Bytes
Versions: 3
Compression:
Stored size: 541 Bytes
Contents
module Jekyll class Bower def initialize() print "Checking if NPM is available\n" fail unless system('which npm') print "Great, NPM is available\n" print "Checkin if Bower is available\n" unless system('which bower') print "Bower not available\n" print "Installing bower\n" system('npm install -g bower') print "Installation completed\n" end print "Resolving dependencies with bower\n" system('bower install') print "Bower dependencies resolved successfully\n" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jekyll-bower-1.0.4 | lib/jekyll/bower_plugin.rb |
jekyll-bower-1.0.3 | lib/jekyll/bower_plugin.rb |
jekyll-bower-1.0.2 | lib/jekyll/bower_plugin.rb |