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

Commit

Permalink
lint links
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Feb 21, 2019
1 parent b53c372 commit 585a6d4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -2,4 +2,5 @@ language: nix

script:
- nix-build -Q default.nix;
- find content/2019 -type f -exec $(nix-build nixpkgs.nix -A nodePackages_10_x.markdown-link-check)/bin/markdown-link-check

4 changes: 4 additions & 0 deletions lint.sh
@@ -0,0 +1,4 @@
BIN=$(nix-build nixpkgs.nix -A nodePackages_10_x.markdown-link-check)/bin/markdown-link-check

find content/2019 -type f -exec $BIN {} \;

4 changes: 2 additions & 2 deletions nixpkgs.nix
@@ -1,5 +1,5 @@
# to update: $ nix-prefetch-url --unpack url
import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/39e3248141eb2f778ef5adc7643eb36094416974.tar.gz";
sha256 = "17l5fjpkhsr70z6p43k9b1g7flxkvcv3azwqqjsc666s44sgiw9j";
url = "https://github.com/NixOS/nixpkgs/archive/54568a7cafb8538220fa04b93e9a038a314b65df.tar.gz";
sha256 = "0sdhizxcp7vzsipbffx3npns23lfgdhxwkiawmi3msl50dxmc8p1";
}) { config = {}; overlays = []; }

0 comments on commit 585a6d4

Please sign in to comment.