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

Added snapcraft file #22

Merged
merged 1 commit into from
Jul 31, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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