Compare commits

...

2 commits

Author SHA1 Message Date
Janus Troelsen
a7f3bbbcdc chore(manager/haskell-cabal): Add codeBlock import, real repo ref 2025-01-06 18:53:21 -06:00
Janus Troelsen
e45eef3fc4
chore(haskell-cabal): Use codeBlock
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2025-01-06 18:49:04 -06:00
2 changed files with 6 additions and 1 deletions

View file

@ -1,6 +1,8 @@
import { codeBlock } from 'common-tags';
import { extractPackageFile, getRangeStrategy } from '.'; import { extractPackageFile, getRangeStrategy } from '.';
const minimalCabalFile = `cabal-version: 3.4 const minimalCabalFile = codeBlock`
cabal-version: 3.4
name: minimal name: minimal
version: 0.1.0.0 version: 0.1.0.0

View file

@ -10,6 +10,9 @@ import type {
import type { CabalDependency } from './extract'; import type { CabalDependency } from './extract';
import { extractNamesAndRanges, findDepends } from './extract'; import { extractNamesAndRanges, findDepends } from './extract';
// This manager has been tested on
// https://github.com/ysangkok/haskell-tz
export const defaultConfig = { export const defaultConfig = {
fileMatch: ['\\.cabal$'], fileMatch: ['\\.cabal$'],
pinDigests: false, pinDigests: false,