mirror of
https://github.com/serokell/xrefcheck.git
synced 2024-10-26 23:43:41 +03:00
aba295b478
Problem: in markdown links, '/' should always be used as path separator , e.g. GitHub renderer is not threating link `[x](a\b.md)` as a link to file in dir `a` We use OS-dependent file separators everywhere, so e.g. `canonizeLocalRef "./a.md"="./a.md`"` on Windows Solution: replace '\' to '/' while constructing repo tree if needed and then use only '/', preferring functions from `System.FilePath.Posix`. We can do this, since 'a/b' and `a\b` are equivalent paths on Windows
20 lines
509 B
YAML
20 lines
509 B
YAML
# SPDX-FileCopyrightText: 2018-2020 Serokell <https://serokell.io>
|
|
#
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
# To update hackage and stackage indexes used by CI run:
|
|
# $ niv update hackage.nix; niv update stackage.nix
|
|
resolver: lts-19.13
|
|
|
|
packages:
|
|
- .
|
|
|
|
extra-deps:
|
|
- firefly-0.2.1.0@sha256:e9d73486464c3e223ec457e02b30ddd5b550fdbf6292b268c64581e2b07d888b,1519
|
|
- cmark-gfm-0.2.5
|
|
- git: https://github.com/serokell/nyan-interpolation
|
|
commit: 348355385466d6d0116251b463a2842ecce0360d
|
|
subdirs:
|
|
- full
|
|
- core
|