Open lnicks opened 11 years ago
Here's my rakefile:
require 'pathname'
theme_dir = File.dirname(Pathname.new(__FILE__).realpath)
base_theme_dir = "#{File.dirname theme_dir}/webblocks"
# The directory into which WebBlocks is built
WebBlocks.config[:build][:dir] = "#{theme_dir}/assets"
# The directory where sources for the build are located
WebBlocks.config[:src][:dir] = "#{theme_dir}/src"
# Location of WebBlocks core components (config.rb, definitions, core adapter)
WebBlocks.config[:src][:core][:dir] = "#{base_theme_dir}/package/WebBlocks/src/core"
# Location of WebBlocks adapters
WebBlocks.config[:src][:adapters][:dir] = "#{base_theme_dir}/package/WebBlocks/src/adapter"
# Adapter packaged with WebBlocks
WebBlocks.config[:src][:adapter] = ['bootstrap']
# WebBlocks-Drupal base extension
WebBlocks.config[:src][:extensions] = []
#WebBlocks.config[:src][:extensions] << "#{base_theme_dir}/src/extension"
#WebBlocks.config[:src][:extensions] << "#{theme_dir}/src/extension"
# Packages compiled into WebBlocks
WebBlocks.config[:build][:packages] = []
WebBlocks.config[:build][:packages] << :jquery # already included by Drupal
WebBlocks.config[:build][:packages] << :modernizr
WebBlocks.config[:build][:packages] << :respond
WebBlocks.config[:build][:packages] << :selectivizr
WebBlocks.config[:build][:packages] << :efx
WebBlocks.config[:build][:packages] << :opticss unless
WebBlocks.config[:build][:packages].include? :opticss
Can you give me some details about the Git submodule for OptiCSS:
git submodule init
?git submodule update
?Can you plese run git log
and provide the most recent commit ID; additionally, please provide what's in .gitmodules
within the WebBlocks directory.
Most recent commit
commit b17c706f2404ac65a4e1bd02c1c81593067c49e6
Merge: 5033ad4 8b7672b
Author: lnicks <lnicks@oit.ucla.edu>
Date: Tue Jul 9 16:25:56 2013 -0700
Merge branch 'master' of https://github.com/ucla/drupal-WebBlocks
[submodule "package/modernizr"]
path = package/modernizr
url = https://github.com/Modernizr/Modernizr.git
[submodule "package/selectivizr"]
path = package/selectivizr
url = https://github.com/keithclark/selectivizr.git
[submodule "package/respond"]
path = package/respond
url = https://github.com/scottjehl/Respond.git
[submodule "package/sass-twitter-bootstrap"]
path = package/sass-twitter-bootstrap
url = https://github.com/jlong/sass-twitter-bootstrap.git
[submodule "package/efx"]
path = package/efx
url = https://github.com/ebollens/efx.git
[submodule "package/lettering"]
path = package/lettering
url = https://github.com/davatron5000/Lettering.js.git
[submodule "package/OptiCSS"]
path = package/OptiCSS
url = https://github.com/ebollens/OptiCSS.git
@lnicks that doesn't help me from a WebBlocks perspective on the commit ID. I need to know the commit ID of the latest commit in the WebBlocks submodule - so navigate to that folder and then run git log
.
Thought so, but I figured with the explicit directions on the gitmodules, I'd stick to the main repo.
Here's the webblocks one:
commit 5d50c370c8f709787b79e03015456022b29cba2c
Author: Eric Bollens <ebollens@ucla.edu>
Date: Sat Jun 22 11:56:17 2013 -0700
Update README.md for completed beta
I am having some problems with the compiler. I've added the two lines of text into
rakefile.rb
to enable CSS Splitting, and this is what I get when I runrake
.@ebollens @chris4ucla