From 1431be8aad6c9378974ac4f5f291fbe0e94346ec Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 18 Oct 2015 08:28:36 -0700 Subject: [PATCH] Remove captchas.html from the repo. --- .gitignore | 1 + Gruntfile.coffee | 9 +++++++-- captchas.html | 29 ----------------------------- 3 files changed, 8 insertions(+), 31 deletions(-) delete mode 100644 captchas.html diff --git a/.gitignore b/.gitignore index e0a8e771f..6a4ceeee4 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ tmp-crx/ tmp-userscript/ testbuilds/ test.html +captchas-*.html Gruntfile.js diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 17cc23613..05a50a880 100755 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -206,7 +206,7 @@ module.exports = (grunt) -> git checkout gh-pages git pull git merge --no-commit -s ours - - git checkout - README.md index.html web.css img captchas.html + git checkout - README.md index.html web.css img git commit -am "Update web page." git checkout - """.split('\n').join('&&') @@ -226,9 +226,10 @@ module.exports = (grunt) -> aws s3 cp img/ s3://<%= pkg.meta.awsBucket %>/img/ --recursive --cache-control "max-age=600" aws s3 cp index.html s3://<%= pkg.meta.awsBucket %> --cache-control "max-age=600" --content-type "text/html; charset=utf-8" aws s3 cp web.css s3://<%= pkg.meta.awsBucket %> --cache-control "max-age=600" --content-type "text/css; charset=utf-8" - aws s3 cp captchas.html s3://<%= pkg.meta.awsBucket %> --cache-control "max-age=0" --content-type "text/html; charset=utf-8" git checkout - """.split('\n').join('&&') + captchas: + 'aws s3 cp captchas.html s3://<%= pkg.meta.awsBucket %> --cache-control "max-age=0" --content-type "text/html; charset=utf-8"' npm: command: 'npm install' update: @@ -465,6 +466,10 @@ module.exports = (grunt) -> 'shell:poststore' ] + grunt.registerTask 'captchas', [ + 'shell:captchas' + ] + grunt.registerTask 'setversion', 'Set the version number', (version) -> pkg = grunt.file.readJSON 'package.json' oldversion = pkg.meta.version diff --git a/captchas.html b/captchas.html deleted file mode 100644 index 72cee6649..000000000 --- a/captchas.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - -Captcha complaints - - - -

Complain about broken captcha

-4chan feedback page -Tweet to @4chan and @hiroyuki_ni -reCAPTCHA Google Group -"Post error problem Questionnaire" thread - -