mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Stub in split diff rendering.
This commit is contained in:
parent
226dc1e966
commit
8600d7d71b
@ -5,6 +5,7 @@ import Diff
|
||||
import Interpreter
|
||||
import Patch
|
||||
import Syntax
|
||||
import Split
|
||||
import Term
|
||||
import Unified
|
||||
import Control.Comonad.Cofree
|
||||
@ -74,7 +75,7 @@ main = do
|
||||
let diff = interpret comparable aTerm bTerm in
|
||||
case output arguments of
|
||||
Unified -> unified diff aContents bContents
|
||||
Split -> return mempty
|
||||
Split -> split diff aContents bContents
|
||||
ByteString.putStr output where
|
||||
opts = info (helper <*> arguments)
|
||||
(fullDesc <> progDesc "Diff some things" <> header "semantic-diff - diff semantically")
|
||||
|
@ -1 +1,7 @@
|
||||
module Split where
|
||||
|
||||
import Diff
|
||||
import Rainbow
|
||||
|
||||
split :: Diff a Info -> String -> String -> IO ByteString
|
||||
split diff a b = return mempty
|
||||
|
Loading…
Reference in New Issue
Block a user