aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2021-07-06 08:46:18 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2021-07-06 08:46:18 +0200
commit6be4bdf6ad92eea3e57ccfaf95672daf43cc1090 (patch)
tree090a0fc781b2482be03f8bef69d33dc7d9ba7c09 /Rakefile
parentba3cfcd0b25c2b4ff47d325db3c592a0673df5f6 (diff)
downloadjo.mssola.com-6be4bdf6ad92eea3e57ccfaf95672daf43cc1090.tar.gz
jo.mssola.com-6be4bdf6ad92eea3e57ccfaf95672daf43cc1090.zip
ci: fixed a lot of issues with style and urls
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Rakefile b/Rakefile
index 3f7e6da..173375c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -15,10 +15,10 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-abort("Please run this using `bundle exec rake`") unless ENV["BUNDLE_BIN_PATH"]
-require "html-proofer"
+abort('Please run this using `bundle exec rake`') unless ENV['BUNDLE_BIN_PATH']
+require 'html-proofer'
-desc "Test the website"
+desc 'Test the website'
task :test do
options = {
check_sri: true,
@@ -29,11 +29,11 @@ task :test do
timeout: 120
},
cache: {
- timeframe: "6w"
+ timeframe: '6w'
}
}
- dir = ENV["BUILD_DEST"] || "./_site"
+ dir = ENV['BUILD_DEST'] || './_site'
HTMLProofer.check_directory(dir, options).run
end