Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
sigrdrifa committed Dec 26, 2023
1 parent 7345cc6 commit 424230e
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 161 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
PHONY: test
test:
@cabal test

Expand Down
62 changes: 31 additions & 31 deletions audiocate.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: audiocate
version: 0.1.0.0
version: 0.2.0.0
synopsis:
Audio encoding authentication library for verifying audio as being from a trusted source

Expand Down Expand Up @@ -73,36 +73,36 @@ executable audiocate
hs-source-dirs: app
default-language: GHC2021

executable audiocate-gui
hs-source-dirs: gui
c-sources: csrc/resources.c
main-is: Main.hs
ghc-options: -Wall -fno-warn-unused-do-bind -threaded -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, audiocate
, time
, gi-glib
, gi-gtk
, gi-adwaita
, gi-gobject
, gi-gio
, haskell-gi-base
, directory
, text
, mtl
, stm
other-modules:
MainWindow
, View.EncodeView
, View.DecodeView
, View.LoadView
, AppState
default-language: GHC2021
default-extensions:
OverloadedLabels
, OverloadedStrings
, OverloadedRecordDot
-- executable audiocate-gui
-- hs-source-dirs: gui
-- c-sources: csrc/resources.c
-- main-is: Main.hs
-- ghc-options: -Wall -fno-warn-unused-do-bind -threaded -with-rtsopts=-N
-- build-depends:
-- base >=4.7 && <5
-- , audiocate
-- , time
-- , gi-glib
-- , gi-gtk
-- , gi-adwaita
-- , gi-gobject
-- , gi-gio
-- , haskell-gi-base
-- , directory
-- , text
-- , mtl
-- , stm
-- other-modules:
-- MainWindow
-- , View.EncodeView
-- , View.DecodeView
-- , View.LoadView
-- , AppState
-- default-language: GHC2021
-- default-extensions:
-- OverloadedLabels
-- , OverloadedStrings
-- , OverloadedRecordDot

test-suite audiocate-test
default-language: GHC2021
Expand Down
2 changes: 1 addition & 1 deletion lib/Audiocate.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ run cmd isRealTime = interpretCmd cmd isRealTime

-- | Prints the version string
version :: String
version = "0.1.0.0-alpha"
version = "0.2.0.0-alpha"
2 changes: 1 addition & 1 deletion test/EncodeCmdSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Data.Int (Int16)
import qualified Data.Text as T
import Data.Text.Encoding (encodeUtf8)
import Data.Word (Word64)
import Test.Hspec (Spec, context, describe, it, shouldBe, shouldSatisfy)
import Test.Hspec (Spec, context, describe, it, shouldBe, shouldSatisfy, shouldNotBe)

import Audiocate
( Command(Encode)
Expand Down
13 changes: 0 additions & 13 deletions test/output/bench_results.csv

This file was deleted.

115 changes: 0 additions & 115 deletions test/output/bench_results.svg

This file was deleted.

0 comments on commit 424230e

Please sign in to comment.