Closed plredmond closed 4 years ago
This PR is pretty long. Sorry about that. Future PRs will be smaller and more targeted.
master
builds for me. You might need an external dependency. What error are you getting?
This doesn't build, and it's sort of hard to follow what's changed. I might pull in da18ca4454fce5f25dcb862fd7964265cd95561f
to a separate branch to see what happens.
I'm able to build vrdt
on both master
and this branch now. I think the problem was with some cache file that cabal had placed on disk.
Working on building kyowon-reflex
and then the examples dir now.
I think I have everything building. I'll push soon.
I've pushed to the merging
branch. Everything builds and the examples run. kyowon-reflex
still should be pulled out and there's a bunch of cleanup to do, but I'm not too worried about this for now. I'll probably merge that to master
after you have time to look over it.
I've looked your merging
branch and it basically undoes much of the careful work I've done to split the latest crdtoa into your preferred package structure. It also duplicates some things? I'm not comfortable with this unilateral approach that you're taking and I hope you'll consider giving feedback on this PR so we can merge it, instead of your merging
branch.
Everything works now on this branch.
Maybe we had a misunderstanding? I previously split up crdtoa based on what was committed at the time. I was expecting you to merge into that.
I re-split-up the crdtoa
package by generating new packages per discussion in our text messages.
I'm able to build this branch with both cabal
and stack
now.
Though, for stack
to work I had to create dummy files for some things that weren't committed. Since these things are likely on your harddisk, I don't want to add them to this branch. Doing so might break your environment.
diff --git a/examples/event/LICENSE b/examples/event/LICENSE
new file mode 100644
index 0000000..e69de29
diff --git a/examples/event/test/Spec.hs b/examples/event/test/Spec.hs
new file mode 100644
index 0000000..6ca9a1f
--- /dev/null
+++ b/examples/event/test/Spec.hs
@@ -0,0 +1 @@
+module Main where
diff --git a/examples/max/LICENSE b/examples/max/LICENSE
new file mode 100644
index 0000000..e69de29
diff --git a/examples/max/test/Spec.hs b/examples/max/test/Spec.hs
new file mode 100644
index 0000000..6ca9a1f
--- /dev/null
+++ b/examples/max/test/Spec.hs
@@ -0,0 +1 @@
+module Main where
diff --git a/vrdt/LICENSE b/vrdt/LICENSE
new file mode 100644
index 0000000..e69de29
diff --git a/vrdt/test/Spec.hs b/vrdt/test/Spec.hs
new file mode 100644
index 0000000..6ca9a1f
--- /dev/null
+++ b/vrdt/test/Spec.hs
@@ -0,0 +1 @@
+module Main where
Thanks. I've created #6 to resolve #5, as well as a few followup issues.
I redid the merge manually by splitting up
crdtoa
into the packageskyowon-{core,client,server}
with narrow dependencies. I also split outkyowon-reflex
fromkyowon-client
so thatkyowon-client
doesn't depend onvrdt
.~I can't get
kyowon-reflex
orvrdt
to build. I tried pullingmaster
and buildingkyowon-client
(containingReflexi.hs
) andvrdt
. Neither worked on themaster
branch either! Therefore I think the problem isn't in this branch.~The rough dependencies are:
kyowon-core
depends onservant
kyowon-server
depends onkyowon-core
,servant
,servant-server
kyowon-client
depends onkyowon-core
,servant
,servant-client
kyowon-reflex
depends onkyowon-core
,vrdt
,reflex