Feature #1205

Add Build System to Handle Both Server & Client

Added by Pavan Rikhi almost 2 years ago. Updated almost 2 years ago.

Status:In ProgressStart date:10/20/2017
Priority:NormalDue date:
Assignee:Pavan Rikhi% Done:

0%

Category:GeneralSpent time:9.37 hours
Target version:v2.0.0 - Post-Migration Issues
Easy Pickings:

Description

Running something like `./build.hs` would be cool.

Use shake to run commands & fsnotify to watch files.

On start, fork the webpack dev server in a new thread, build the server & run it.

When a haskell file changes, kill the server, rebuild & re-launch the server.

On Ctrl-C, shutdown the server, kill webpack & exit w/ success.

Associated revisions

Revision 6ca5ff22
Added by Pavan Rikhi almost 2 years ago

[#1205] Replace Server Makefile with Custom Build Script

Add a `manage.hs` file to the root directory of the project to handle
builds for both the client & server.

The default or `watch` command will install node, setup stack, run the
webpack dev server, & build/start/watch/restart the API server.

Additional commands exist for cleaning the built files, building
production files, & starting REPLs.

Refs #1205

History

#1 Updated by Pavan Rikhi almost 2 years ago

  • Start date set to 10/20/2017
  • Target version changed from v2.0.0 - Post-Migration Issues to v0.6.0 - Checkout
  • Status changed from New to In Progress

#2 Updated by Pavan Rikhi almost 2 years ago

  • Target version changed from v0.6.0 - Checkout to v2.0.0 - Post-Migration Issues

#3 Updated by Pavan Rikhi almost 2 years ago

Most done, couple TODOs left at top of file for nicer watching.

Also available in: Atom PDF