aboutsummaryrefslogtreecommitdiff
path: root/mds.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'mds.cabal')
-rwxr-xr-xmds.cabal67
1 files changed, 67 insertions, 0 deletions
diff --git a/mds.cabal b/mds.cabal
new file mode 100755
index 0000000..59bfc27
--- /dev/null
+++ b/mds.cabal
@@ -0,0 +1,67 @@
+name: mds
+version: 0.1.0
+synopsis: Transform a directory layout based on audio meta-data
+description: Transforms an Album directory into an Artist -> Album structure
+ based on the metadata of the files in the directory.
+homepage: https://git.rodere.systems/mds
+license: AGPL-3
+license-file: LICENSE
+author: Carlos Sosa <gnusosa@gnusosa.net>
+maintainer: Carlos Sosa <gnusosa@gnusosa.net>
+copyright: 2020 Carlos Sosa
+category: Sound, Utility
+build-type: Simple
+cabal-version: >= 1.18
+extra-source-files: README.md
+data-files: audio-samples/*.flac
+ , audio-samples/*.mp3
+
+library
+ hs-source-dirs: src
+ exposed-modules: Sound.MusicDirTrans
+ other-modules: Sound.MusicDirTrans.File
+ , Sound.MusicDirTrans.Type
+ , Sound.MusicDirTrans.Directory
+ build-depends: base >= 4.7 && < 5
+ , directory >= 1.3.3.1
+ , Cabal >= 2.0 && < 3.2
+ , filepath >= 1.4 && < 2.0
+ , Glob >= 0.8.0
+ , htaglib >= 1.1.1
+ , text >= 1.0 && < 1.3
+ default-language: Haskell2010
+
+executable mds
+ hs-source-dirs: app
+ main-is: Main.hs
+ ghc-options: -threaded -rtsopts -with-rtsopts=-N
+ other-modules: RunCmd
+ build-depends: base >= 4.7 && < 5
+ , directory >= 1.3.3.1
+ , filepath >= 1.4 && < 2.0
+ , optparse-applicative
+ , mds
+ , text >= 1.0 && < 1.3
+ default-language: Haskell2010
+
+test-suite mds-test
+ type: exitcode-stdio-1.0
+ hs-source-dirs: test
+ main-is: Spec.hs
+ build-depends: base >= 4.7 && < 5
+ , Glob >= 0.8.0
+ , htaglib >= 1.1.1
+ , mds
+ , hspec >= 2.0 && < 3.0
+ , text >= 1.0 && < 1.3
+ other-modules: Sound.MusicDirTrans.FileSpec
+ , Sound.MusicDirTrans.DirectorySpec
+ , Sound.MusicDirTrans.TypeSpec
+ , Sound.MusicDirTrans.Test.Util
+ ghc-options: -threaded -rtsopts -with-rtsopts=-N
+ build-tools: hspec-discover >= 2.0 && < 3.0
+ default-language: Haskell2010
+
+source-repository head
+ type: git
+ location: https://git.rodere.systems/mds