diff --git a/Rakefile b/Rakefile deleted file mode 100644 index 4f32eb6..0000000 --- a/Rakefile +++ /dev/null @@ -1,35 +0,0 @@ -# automates minifying jquery.isotope.js -# requires Google Closure Compiler http://code.google.com/closure/compiler/ -# from command line run: -# rake min COMPILER='path/to/compiler.jar' -file compiler = ENV["COMPILER"] || '../../resources/google-closure/compiler.jar' -js = 'jquery.isotope.js' -min_js = 'jquery.isotope.min.js' - -desc "Generates #{min_js}" -task :min do - unless File.exists?( compiler ) - puts "ERROR: Compiler not found at " + compiler - else - puts "Minifying jquery.isotope.js..." - sh "java -jar #{compiler} --js #{js} --js_output_file #{min_js}" - # Adds header comment - min = File.read( min_js ) - File.open( min_js, 'w') do |f| - f.write File.readlines( js )[0..9].join() - f.write min - end - end -end - -desc "Zips _site/ into isotope-site.zip on to Desktop" -task :zip do - # makes isotope-site/ directory - sh 'mkdir isotope-site;' - # copies _site/ - sh 'cp -r _site/ isotope-site;' - # zips isotope-site/ - sh 'zip -r ~/Desktop/isotope-site.zip isotope-site/;' - # removes isotope-site/ - sh 'rm -rf isotope-site;' -end \ No newline at end of file diff --git a/_config.yml b/_config.yml index 422b213..0c96e6f 100644 --- a/_config.yml +++ b/_config.yml @@ -3,7 +3,7 @@ permalink: /:categories/:title.html pygments: true isotope_js: jquery.isotope.min.js jquery_js: js/jquery-1.5.1.min.js -exclude: [ Rakefile ] +exclude: [ Makefile ] random_order: [ 11, 91, 63, 38, 4, 25, 94, 29, 60, 48, 32, 67, 33, 37, 39, 84, 40, 7, 96, 8, 97, 9, 14, 99, 15, 19, 5, 36, 114, 20, 30, 80, 13, 47, 21, 3, 22, 31, 54, 66, 55, 71, 1, 23, 41, 70, 2, 77, 117, 79, 42, 95, 46, 50, 69, 53, 56, 72, 51, 73, 59, 74, 35, 49, 101, 88, 34, 76, 102, 75, 103, 81, 58, 6, 82, 26, 27, 44, 83, 45, 86, 68, 87, 104, 105, 10, 85, 43, 12, 109, 110, 113, 28, 106, 107, 108, 115, 62, 116, 0, 57, 111, 112, 61, 89, 90, 64, 65, 92, 93, 78, 24, 98, 100, 16, 17, 18, 52 ]