I have a CSS framework submodule in my Git repo that includes a bunch of README
, component.json
and other files. I don’t want to modify or delete the files because I’d imagine it’d cause problems when updates are pushed to the submodule. Yet Middleman wants to process them.
I currently have this in my config.rb
file:
# Ignore everything that's not a CSS file inside inuit.css
ignore 'css/inuit.css/*.html'
ignore 'css/inuit.css/*.json'
ignore 'css/inuit.css/LICENSE'
How could I express this with a file pattern or a regex?
I’m not familiar with Middleman, but doesn’t this work?