mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 10:35:57 +03:00
switch to using symbolic link for shared / editor dependency, for faster turnaround times
This commit is contained in:
parent
b6f3132a18
commit
5789edaca1
@ -1,14 +1,55 @@
|
||||
{ mkDerivation, base, containers, data-default, free, ghcjs-dom,
|
||||
ghcjs-base, mtl, reflex, reflex-dom, semigroups, stdenv, text,
|
||||
transformers, unison-shared }:
|
||||
{ mkDerivation, stdenv,
|
||||
base,
|
||||
aeson,
|
||||
base64-bytestring,
|
||||
bifunctors,
|
||||
bytestring,
|
||||
comonad,
|
||||
containers,
|
||||
data-default,
|
||||
free,
|
||||
ghcjs-base,
|
||||
ghcjs-dom,
|
||||
mtl,
|
||||
murmur-hash,
|
||||
prelude-extras,
|
||||
reflex,
|
||||
reflex-dom,
|
||||
semigroups,
|
||||
text,
|
||||
these,
|
||||
transformers,
|
||||
vector
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "unison-editor";
|
||||
version = "0.1";
|
||||
src = ./.;
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [ base free ghcjs-base ghcjs-dom mtl reflex reflex-dom
|
||||
semigroups text transformers unison-shared ];
|
||||
buildDepends = [
|
||||
base
|
||||
aeson
|
||||
base64-bytestring
|
||||
bifunctors
|
||||
bytestring
|
||||
comonad
|
||||
containers
|
||||
data-default
|
||||
free
|
||||
ghcjs-base
|
||||
ghcjs-dom
|
||||
mtl
|
||||
murmur-hash
|
||||
prelude-extras
|
||||
reflex
|
||||
reflex-dom
|
||||
semigroups
|
||||
text
|
||||
these
|
||||
transformers
|
||||
vector
|
||||
];
|
||||
homepage = "http://unisonweb.org";
|
||||
description = "The Unison programming language and platform";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
|
1
editor/shared-src
Symbolic link
1
editor/shared-src
Symbolic link
@ -0,0 +1 @@
|
||||
../shared/src
|
@ -42,7 +42,7 @@ flag quiet
|
||||
default: False
|
||||
|
||||
library
|
||||
hs-source-dirs: src
|
||||
hs-source-dirs: src shared-src
|
||||
|
||||
exposed-modules:
|
||||
Unison.DocView
|
||||
@ -56,19 +56,26 @@ library
|
||||
|
||||
build-depends:
|
||||
base,
|
||||
aeson,
|
||||
base64-bytestring,
|
||||
bifunctors,
|
||||
bytestring,
|
||||
comonad,
|
||||
containers,
|
||||
data-default,
|
||||
free,
|
||||
ghcjs-dom,
|
||||
ghcjs-base,
|
||||
ghcjs-dom,
|
||||
mtl,
|
||||
murmur-hash,
|
||||
prelude-extras,
|
||||
reflex,
|
||||
reflex-dom,
|
||||
semigroups,
|
||||
text,
|
||||
these,
|
||||
transformers,
|
||||
unison-shared
|
||||
vector
|
||||
|
||||
ghc-options: -Wall -fno-warn-name-shadowing -threaded -rtsopts -with-rtsopts=-N
|
||||
|
||||
@ -80,7 +87,7 @@ library
|
||||
|
||||
executable editor
|
||||
main-is: Editor.hs
|
||||
hs-source-dirs: src
|
||||
hs-source-dirs: src shared-src
|
||||
ghc-options: -Wall -fno-warn-name-shadowing -threaded -rtsopts -with-rtsopts=-N -v0
|
||||
|
||||
if flag(optimized)
|
||||
@ -88,24 +95,31 @@ executable editor
|
||||
|
||||
build-depends:
|
||||
base,
|
||||
aeson,
|
||||
base64-bytestring,
|
||||
bifunctors,
|
||||
bytestring,
|
||||
comonad,
|
||||
containers,
|
||||
data-default,
|
||||
free,
|
||||
ghcjs-dom,
|
||||
ghcjs-base,
|
||||
ghcjs-dom,
|
||||
mtl,
|
||||
murmur-hash,
|
||||
prelude-extras,
|
||||
reflex,
|
||||
reflex-dom,
|
||||
semigroups,
|
||||
text,
|
||||
these,
|
||||
transformers,
|
||||
unison-shared,
|
||||
vector,
|
||||
unison-editor
|
||||
|
||||
executable explorer
|
||||
main-is: ExplorerTest.hs
|
||||
hs-source-dirs: src
|
||||
hs-source-dirs: src shared-src
|
||||
ghc-options: -Wall -fno-warn-name-shadowing -threaded -rtsopts -with-rtsopts=-N -v0
|
||||
|
||||
if flag(optimized)
|
||||
@ -113,17 +127,24 @@ executable explorer
|
||||
|
||||
build-depends:
|
||||
base,
|
||||
aeson,
|
||||
base64-bytestring,
|
||||
bifunctors,
|
||||
bytestring,
|
||||
comonad,
|
||||
containers,
|
||||
data-default,
|
||||
free,
|
||||
ghcjs-dom,
|
||||
ghcjs-base,
|
||||
ghcjs-dom,
|
||||
mtl,
|
||||
murmur-hash,
|
||||
prelude-extras,
|
||||
reflex,
|
||||
reflex-dom,
|
||||
semigroups,
|
||||
text,
|
||||
these,
|
||||
transformers,
|
||||
unison-shared,
|
||||
vector,
|
||||
unison-editor
|
||||
|
Loading…
Reference in New Issue
Block a user