Browse Source

Hashrockets

main
Ben Alpert 9 years ago
parent
commit
2a1ae009bf
  1. 16
      Rakefile

16
Rakefile

@ -27,14 +27,14 @@ end
desc "update SRI hashes"
task :update_hashes do
map = {
'react.js': 'dev',
'react.min.js': 'prod',
'react-with-addons.js': 'addons_dev',
'react-with-addons.min.js': 'addons_prod',
'react-dom.js': 'dom_dev',
'react-dom.min.js': 'dom_prod',
'react-dom-server.js': 'dom_server_dev',
'react-dom-server.min.js': 'dom_server_prod'
'react.js' => 'dev',
'react.min.js' => 'prod',
'react-with-addons.js' => 'addons_dev',
'react-with-addons.min.js' => 'addons_prod',
'react-dom.js' => 'dom_dev',
'react-dom.min.js' => 'dom_prod',
'react-dom-server.js' => 'dom_server_dev',
'react-dom-server.min.js' => 'dom_server_prod'
}
site_config = YAML.load_file('_config.yml')
map.each do |file, key|

Loading…
Cancel
Save