diff --git a/semantic-diff.cabal b/semantic.cabal similarity index 97% rename from semantic-diff.cabal rename to semantic.cabal index 28ac87003..0ce14ad4d 100644 --- a/semantic-diff.cabal +++ b/semantic.cabal @@ -1,8 +1,8 @@ -name: semantic-diff +name: semantic version: 0.3.0 synopsis: Initial project template from stack description: Please see README.md -homepage: http://github.com/github/semantic-diff#readme +homepage: http://github.com/github/semantic#readme author: Rob Rix, Josh Vera maintainer: rob.rix@github.com copyright: 2016 GitHub @@ -108,7 +108,7 @@ library , Parsing.CMark , Parsing.Parser , Parsing.TreeSitter - , Paths_semantic_diff + , Paths_semantic -- Rendering formats , Rendering.DOT , Rendering.Imports @@ -193,7 +193,7 @@ executable semantic cc-options: -DU_STATIC_IMPLEMENTATION=1 cpp-options: -DU_STATIC_IMPLEMENTATION=1 build-depends: base - , semantic-diff + , semantic default-language: Haskell2010 default-extensions: FlexibleInstances, OverloadedStrings, RecordWildCards @@ -240,7 +240,7 @@ test-suite test , network , containers , recursion-schemes >= 4.1 - , semantic-diff + , semantic , text >= 1.2.1.3 , these ghc-options: -threaded -rtsopts -with-rtsopts=-N -j @@ -249,4 +249,4 @@ test-suite test source-repository head type: git - location: https://github.com/github/semantic-diff + location: https://github.com/github/semantic diff --git a/src/Semantic/CLI.hs b/src/Semantic/CLI.hs index ae4df2af4..58cd5a611 100644 --- a/src/Semantic/CLI.hs +++ b/src/Semantic/CLI.hs @@ -14,7 +14,7 @@ import Data.Version (showVersion) import Development.GitRev import Options.Applicative import Rendering.Renderer -import qualified Paths_semantic_diff as Library (version) +import qualified Paths_semantic as Library (version) import Semantic.IO (languageForFilePath) import qualified Semantic.Log as Log import qualified Semantic.Task as Task diff --git a/test/Semantic/IO/Spec.hs b/test/Semantic/IO/Spec.hs index 6c04703bb..d0ae83566 100644 --- a/test/Semantic/IO/Spec.hs +++ b/test/Semantic/IO/Spec.hs @@ -16,8 +16,8 @@ spec :: Spec spec = parallel $ do describe "readFile" $ do it "returns a blob for extant files" $ do - Just blob <- readFile "semantic-diff.cabal" Nothing - blobPath blob `shouldBe` "semantic-diff.cabal" + Just blob <- readFile "semantic.cabal" Nothing + blobPath blob `shouldBe` "semantic.cabal" it "throws for absent files" $ do readFile "this file should not exist" Nothing `shouldThrow` anyIOException