From d1a96b32be7aba43648bc5e08fc8fafe1b34dba7 Mon Sep 17 00:00:00 2001 From: "Mikami, Takeshi" Date: Fri, 16 Apr 2021 23:36:28 +0900 Subject: [PATCH] add brew style check --- .github/workflows/ci.yaml | 2 ++ rdflint.rb | 9 +++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e85a756..05539a9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,6 +13,8 @@ jobs: steps: - uses: actions/checkout@v2 + - run: brew style *.rb + - name: install rdflint run: | brew tap imas/rdflint file://$(pwd) diff --git a/rdflint.rb b/rdflint.rb index 0076cd8..99187b9 100644 --- a/rdflint.rb +++ b/rdflint.rb @@ -1,6 +1,11 @@ -RDFLINT_VERSION='0.1.5' +# typed: false +# frozen_string_literal: true + +RDFLINT_VERSION="0.1.5" + +# Rdflint Formula class Rdflint < Formula - desc "rdflint: RDF linter" + desc ": RDF linter" homepage "https://github.com/imas/rdflint" url "https://jitpack.io/com/github/imas/rdflint/#{RDFLINT_VERSION}/rdflint-#{RDFLINT_VERSION}.jar" sha256 "d96520dcc355a47cb71449d89ebebf460a1eb9d3bb3a379efbb65724972386c7"