enso-org / dataframes

A library for working with tabular data in Luna.
https://luna-lang.org
MIT License
6 stars 5 forks source link

Build scripts refactoring part 1 #136

Closed mwu-tow closed 5 years ago

mwu-tow commented 5 years ago

This PR refactors the building script. Further changes are expected, but to ease review and merges it is better to do in parts. In future I hope to split out this library into Luna repository and use it in Manager and build scripts.

No functional changes intended.

In this PR:

  1. Code has been split between executable and library parts. Library sources went to src/ subfolder.
  2. Functions working in IO were generalized to use MonadIO constraint.
  3. Replaced process with typed-process. Simplified implementation of Program module.
  4. Modules Platform.Linux, Program and Utils got haddock-compatible documentation.
  5. Make module has been splitted from CMake. They are separate programs after all.