1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00

Merge pull request #1508 from github/rename-semantic

Rename the project to semantic
This commit is contained in:
Josh Vera 2018-03-01 11:50:38 -05:00 committed by GitHub
commit cc06b848bb
3 changed files with 9 additions and 9 deletions

View File

@ -1,8 +1,8 @@
name: semantic-diff name: semantic
version: 0.3.0 version: 0.3.0
synopsis: Initial project template from stack synopsis: Initial project template from stack
description: Please see README.md 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 author: Rob Rix, Josh Vera
maintainer: rob.rix@github.com maintainer: rob.rix@github.com
copyright: 2016 GitHub copyright: 2016 GitHub
@ -108,7 +108,7 @@ library
, Parsing.CMark , Parsing.CMark
, Parsing.Parser , Parsing.Parser
, Parsing.TreeSitter , Parsing.TreeSitter
, Paths_semantic_diff , Paths_semantic
-- Rendering formats -- Rendering formats
, Rendering.DOT , Rendering.DOT
, Rendering.Imports , Rendering.Imports
@ -193,7 +193,7 @@ executable semantic
cc-options: -DU_STATIC_IMPLEMENTATION=1 cc-options: -DU_STATIC_IMPLEMENTATION=1
cpp-options: -DU_STATIC_IMPLEMENTATION=1 cpp-options: -DU_STATIC_IMPLEMENTATION=1
build-depends: base build-depends: base
, semantic-diff , semantic
default-language: Haskell2010 default-language: Haskell2010
default-extensions: FlexibleInstances, OverloadedStrings, RecordWildCards default-extensions: FlexibleInstances, OverloadedStrings, RecordWildCards
@ -240,7 +240,7 @@ test-suite test
, network , network
, containers , containers
, recursion-schemes >= 4.1 , recursion-schemes >= 4.1
, semantic-diff , semantic
, text >= 1.2.1.3 , text >= 1.2.1.3
, these , these
ghc-options: -threaded -rtsopts -with-rtsopts=-N -j ghc-options: -threaded -rtsopts -with-rtsopts=-N -j
@ -249,4 +249,4 @@ test-suite test
source-repository head source-repository head
type: git type: git
location: https://github.com/github/semantic-diff location: https://github.com/github/semantic

View File

@ -14,7 +14,7 @@ import Data.Version (showVersion)
import Development.GitRev import Development.GitRev
import Options.Applicative import Options.Applicative
import Rendering.Renderer import Rendering.Renderer
import qualified Paths_semantic_diff as Library (version) import qualified Paths_semantic as Library (version)
import Semantic.IO (languageForFilePath) import Semantic.IO (languageForFilePath)
import qualified Semantic.Log as Log import qualified Semantic.Log as Log
import qualified Semantic.Task as Task import qualified Semantic.Task as Task

View File

@ -16,8 +16,8 @@ spec :: Spec
spec = parallel $ do spec = parallel $ do
describe "readFile" $ do describe "readFile" $ do
it "returns a blob for extant files" $ do it "returns a blob for extant files" $ do
Just blob <- readFile "semantic-diff.cabal" Nothing Just blob <- readFile "semantic.cabal" Nothing
blobPath blob `shouldBe` "semantic-diff.cabal" blobPath blob `shouldBe` "semantic.cabal"
it "throws for absent files" $ do it "throws for absent files" $ do
readFile "this file should not exist" Nothing `shouldThrow` anyIOException readFile "this file should not exist" Nothing `shouldThrow` anyIOException