Open danse opened 7 years ago
could you take care of the warning on travis? if not i'll do it eventually. thanks!
What is the desired way to fix this? Seems like you are defining a common interface for building within this project, so if you want i could ditch the Makefile, move everything to a build.sh
script and update the related docs
ideally we'd like to offer users an homogeneous build methodology like in the else branch up there, but the todo case has some custom tweaks so it's more suited to be encapsulated into a build.sh up to the moment when we can remove the workarounds
now this works when running ./build.hs
in the todo
folder, but it fails when running all the tests with docker from the root folder. it says that Javascript dependencies might be missing, which is weird because when i try ./build.hs
in the todo
folder everything builds just fine. if you don't have time i'll try again later
-- While building package react-hs-examples-0.1.0 using:
/root/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_1.24.2.0_ghcjs-0.2.1.9008011_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.24.2.0_ghcjs build exe:todo exe:todo-node --ghcjs-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
Logs have been written to: /react-hs/react-hs-examples/todo/.stack-work/logs/react-hs-examples-0.1.0.log
Configuring react-hs-examples-0.1.0...
Warning: Unknown extensions: TypeFamilyDependencies
Preprocessing executable 'todo' for react-hs-examples-0.1.0...
[1 of 5] Compiling TodoStore ( src/TodoStore.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0_ghcjs/build/todo/todo-tmp/TodoStore.js_o ) [flags changed]
/react-hs/react-hs-examples/todo/src/TodoStore.hs:26:1: error:
Failed to load interface for ‘React.Flux’
Perhaps you haven't installed the "js" libraries for package ‘react-hs-0.1.0’?
Use -v to see a list of the files searched for.
What's the status on this?
no updates since my last comment. now i have less availability to work on this library so i would probably be very slow or make no progress at all on this in the upcoming future
Fixes #52