flux icon indicating copy to clipboard operation
flux copied to clipboard

Make dependency removal?

Open briandipalma opened this issue 12 years ago • 10 comments

Is there any reason this project uses make? Could it be replaced with something that npm could install?

briandipalma avatar Jul 30 '14 12:07 briandipalma

Because make was super easy for me to get up and running in a few minutes :) Make also supports lots of things out of the box (like importantly, detecting file modifications to determine if a task needs to be run). It took 16 lines to do everything I needed.

I know make isn't great for Windows, but I actually really like the simplicity we have here now. Gulp or Grunt are probably fine too.

zpao avatar Aug 01 '14 20:08 zpao

There was also a Python dependency I think so I gave up and built it in Linux, something like Gulp would be nice so it could be built using the one tool chain.

briandipalma avatar Aug 01 '14 20:08 briandipalma

There shouldn't be a python dependency... mkdir, sed, rm are the only unix things needed. The other pieces are installed via npm and shouldn't have their own python dependencies.

zpao avatar Aug 01 '14 21:08 zpao

What about the other npm packages...do they have native code they compile? I might be misremembering this part! I might try and building again on my Windows machine when I'm on it next.

briandipalma avatar Aug 01 '14 21:08 briandipalma

I'm not sure about the dependency tree. Something might need contextify which might need to build binary pieces which might need python. But that's going to be totally outside our control. I would expect Windows+node+npm to handle that however it needs.

zpao avatar Aug 01 '14 21:08 zpao

Is there any reason not to use CMake if you're on Windows? Make is a relatively common build dependency.

dandean avatar Aug 01 '14 21:08 dandean

I didn't know about CMake. I wouldn't be surprised if that's the case for many people looking at this repo.

briandipalma avatar Aug 01 '14 21:08 briandipalma

I agree we should make this easy for Windows. I'll take a look at grunt-based and gulp-based solutions. Please consider it to be on the road map. On Aug 1, 2014 2:51 PM, "Brian Di Palma" [email protected] wrote:

I didn't know about CMake. I wouldn't be surprised if that's the case for many people looking at this repo.

— Reply to this email directly or view it on GitHub https://github.com/facebook/flux/issues/15#issuecomment-50938868.

fisherwebdev avatar Aug 02 '14 01:08 fisherwebdev

Thanks!

briandipalma avatar Aug 02 '14 08:08 briandipalma

Thanks!

briandipalma avatar Aug 08 '14 08:08 briandipalma