pure-c / purec

C backend for PureScript
232 stars 8 forks source link

Figure out tooling for building projects with purec #21

Closed felixSchl closed 5 years ago

felixSchl commented 5 years ago

What could be a nice workflow for users wanting to use purec? Install the purec utility from npm and somehow combine pulp with purec (maybe using pulp --then?). That would buy users file watching for free (although it wouldn't pick up on .c and .h files). We need to figure out how to generate the Makefiles and how to bring in the runtime (#13).

felixSchl commented 5 years ago

This is sorted and can be seen in action in the examples. For typical pulp/PureScript projects, this will watch and recompile pulp -w --then make build