Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #22 from gaurav-nelson/snap-support
Browse files Browse the repository at this point in the history
Added snapcraft file
  • Loading branch information
gaurav-nelson committed Jul 31, 2020
2 parents e467ed3 + 1ff6e80 commit dccdc41
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: asciidoc-link-check
version: git
summary: Checks if all hyperlinks in an asciidoc file are alive(or dead).
description: |
Check links for a local file:
$ asciidoc-link-check README.adoc --progress
Check links for an online file:
$ asciidoc-link-check https://github.com/gaurav-nelson/asciidoc-link-check/blob/master/README.adoc
Check links from standard input:
$ cat <filename>.adoc | asciidoc-link-check -p
Check links in all asciidoc files in the current directory:
$ find . -name \*.adoc -exec asciidoc-link-check -p {} \;
Ignore specific links:
$ asciidoc-link-check README.adoc -c <configfile.json>
base: core18
confinement: strict

parts:
asciidoc-link-check:
plugin: nodejs
source: .

apps:
asciidoc-link-check:
command: asciidoc-link-check

0 comments on commit dccdc41

Please sign in to comment.