Hi, if it was me, I'd avoid plain makefiles, too. At least for fauxton. What about sticking with Grunt? We could still do some work to brush up the Gruntfile. And with a few tweaks, it's portable, even on Win (in fact: I found another one this WE).
Best Sebastian On Tue, Oct 20, 2015 at 6:03 PM, Joan Touzet <woh...@apache.org> wrote: > Hi Robert, > > I'm presently migrating our one Makefile left in couchdb to a Windows > NMakefile, which uses a different syntax. > > git shell works but has enough problems that I don't want to rely on > it. Sometimes it's almost as much work to debug a GNU Makefile running > under cygwin as it is to rewrite the entire Makefile as an NMakefile. > > It'd be super swell if you could avoid a GNU Makefile. > > -Joan > > ----- Original Message ----- > > From: "Robert Kowalski" <r...@kowalski.gd> > > To: dev@couchdb.apache.org > > Sent: Tuesday, October 20, 2015 10:12:17 AM > > Subject: Fauxton Windows developer question > > > > Hey there, > > > > I am currently working with our old & grown Gruntfile.js [1] together > > with > > the files in tasks/ > > > > The gruntfile has grown over the years and it got really hard to make > > changes to our buildsystem. > > > > It also has some weird edge cases, as a release is made from the > > dist/debug > > folder, but the debug folder and it's contents is created from the > > task > > that spins up the devserver. > > > > Anyway... right now I am trying to integrate Babel as react-tools are > > deprecated. After the update I want to update to React 14 (that's > > where my > > current journey began). > > > > There are some tasks that would perfectly fit into a Makefile because > > they > > don't fit in a one liner as `npm run <task>` [2] (e.g. finding all > > .less > > files and feed them into the less compiler). I know that some people > > are > > using Windows and I am a super Windows noob. > > > > Windows Fauxton developers: > > > > Do Makefiles run in your Windows dev environment (e.g. via git shell > > et. > > al.) or would a make based build for Fauxton exclude you? > > > > If it would exclude you, do you have a suggestion what to use? > > > > Best, > > Robert :) > > > > > > [1] > > https://github.com/apache/couchdb-fauxton/blob/master/Gruntfile.js > > [2] > > https://github.com/apache/couchdb-fauxton/blob/master/package.json#L50 > > >