diff --git a/app/Main.hs b/app/Main.hs index b9c831403..26dc56ec0 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -1,3 +1,3 @@ module Main (main) where -import Semantic (main) +import SemanticCmdLine (main) diff --git a/semantic-diff.cabal b/semantic-diff.cabal index 75b658116..c804bf96c 100644 --- a/semantic-diff.cabal +++ b/semantic-diff.cabal @@ -64,7 +64,7 @@ library , Renderer.Summary , Renderer.SExpression , Renderer.TOC - , Semantic + , SemanticCmdLine , SES , SES.Myers , Source @@ -153,7 +153,7 @@ test-suite test , Data.RandomWalkSimilarity.Spec , Data.Syntax.Assignment.Spec , DiffSpec - , SemanticSpec + , SemanticCmdLineSpec , SummarySpec , GitmonClientSpec , InterpreterSpec diff --git a/src/Semantic.hs b/src/SemanticCmdLine.hs similarity index 99% rename from src/Semantic.hs rename to src/SemanticCmdLine.hs index d0a1d2369..f22f2f04d 100644 --- a/src/Semantic.hs +++ b/src/SemanticCmdLine.hs @@ -1,5 +1,5 @@ {-# LANGUAGE TemplateHaskell #-} -module Semantic (main, runDiff, runParse) where +module SemanticCmdLine (main, runDiff, runParse) where import Arguments import Command diff --git a/test/SemanticSpec.hs b/test/SemanticCmdLineSpec.hs similarity index 93% rename from test/SemanticSpec.hs rename to test/SemanticCmdLineSpec.hs index ea1b744c4..f74cc3517 100644 --- a/test/SemanticSpec.hs +++ b/test/SemanticCmdLineSpec.hs @@ -1,8 +1,8 @@ -module SemanticSpec where +module SemanticCmdLineSpec where import Prologue import Arguments -import Semantic +import SemanticCmdLine import Test.Hspec hiding (shouldBe, shouldNotBe, shouldThrow, errorCall) import Test.Hspec.Expectations.Pretty import Test.Hspec.LeanCheck diff --git a/test/Spec.hs b/test/Spec.hs index 25b1c0b4c..30d64517c 100644 --- a/test/Spec.hs +++ b/test/Spec.hs @@ -19,7 +19,7 @@ import qualified SourceSpec import qualified TermSpec import qualified TOCSpec import qualified IntegrationSpec -import qualified SemanticSpec +import qualified SemanticCmdLineSpec import Test.Hspec main :: IO () @@ -40,7 +40,7 @@ main = hspec $ do describe "SES.Myers" SES.Myers.Spec.spec describe "Source" SourceSpec.spec describe "Term" TermSpec.spec - describe "Semantic" SemanticSpec.spec + describe "SemanticCmdLine" SemanticCmdLineSpec.spec describe "TOC" TOCSpec.spec describe "Integration" IntegrationSpec.spec