This repository has been archived by the owner on May 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from gaurav-nelson/snap-support
Added snapcraft file
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |