[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] Makefile like tagets ant rules
From: |
Mantas |
Subject: |
Re: [Fab-user] Makefile like tagets ant rules |
Date: |
Mon, 28 Feb 2011 22:48:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15pre) Gecko/20110207 Lightning/1.0b2 Shredder/3.1.9pre |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
tav, I just looked at your build system. Where all those undefined
variables comes from? As I understood, your build system works like
zc.buildout? I didn't find much similarity with Makefile there.
I like Fabric, but also I miss Makefile functionality, where you can
just run ``make`` and it will check everything and will do just what is
needed or missing.
So I started implementing some thing similar in Fabfile, where you can
just run ``fab make`` and it will do only what is needed.
When I finish to implement it, fabfile.py should look something like this:
http://paste.pocoo.org/show/345926/
2011.02.28 22:09, tav rašė:
> Hey sirex,
>
> Embedding "make-esque" functionality into Fabric would be quite an
> undertaking, e.g. dependency chain analysis, specific
> language/compiler toolchain support, etc.
>
> Perhaps it would be simpler to just call out into whatever build
> system that you enjoy working with?
>
> After spending some time using SCons <http://www.scons.org/>, Rake
> <http://rake.rubyforge.org/> and Waf <http://code.google.com/p/waf/>,
> I have found myself still preferring Makefiles.
>
> Having said that, I've also created a yet-another-package-management-system:
>
> * https://github.com/tav/ampify/blob/master/environ/buildrecipes
>
> I wonder if it would be worthwhile to make it generic and usable
> within Fabric directly — which should provide the features you're
> looking for, along with going some ways towards negating the need for
> Puppet/Chef/etc.
>
> Thoughts?
>
- --
Mantas aka sirex
__o /\
_ \<,_ -- launchpad.net/~sirex -- /\/ \
___(_)/_(_)_____________________________/_/ \
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1sCjAACgkQrRc2Mrd7P8WUQQCfWsoGwxhwZoJqDpTXgl8vywg0
VMMAnR10DD6q39fUSitjF4JXWag18/aD
=G3qP
-----END PGP SIGNATURE-----