[–] sneak 12y ago ↗ Is there something too involved about an alias in .profile, or a makefile target? [–] lucasnb 12y ago ↗ Totally forgot about that. Done! [–] sneak 12y ago ↗ I meant more like: alias deployapp="rsync -avP --delete ~/dev/app/ user@remote:app/" It sort of removes the need for most of this script, no? [–] lucasnb 12y ago ↗ True. But if you have lots of apps, it can be tedious to manage. Also, it seems better to abstract away the command to be able to quickly change tools when needed. And you won't get a fancy, readable list with alias :)
[–] lucasnb 12y ago ↗ Totally forgot about that. Done! [–] sneak 12y ago ↗ I meant more like: alias deployapp="rsync -avP --delete ~/dev/app/ user@remote:app/" It sort of removes the need for most of this script, no? [–] lucasnb 12y ago ↗ True. But if you have lots of apps, it can be tedious to manage. Also, it seems better to abstract away the command to be able to quickly change tools when needed. And you won't get a fancy, readable list with alias :)
[–] sneak 12y ago ↗ I meant more like: alias deployapp="rsync -avP --delete ~/dev/app/ user@remote:app/" It sort of removes the need for most of this script, no? [–] lucasnb 12y ago ↗ True. But if you have lots of apps, it can be tedious to manage. Also, it seems better to abstract away the command to be able to quickly change tools when needed. And you won't get a fancy, readable list with alias :)
[–] lucasnb 12y ago ↗ True. But if you have lots of apps, it can be tedious to manage. Also, it seems better to abstract away the command to be able to quickly change tools when needed. And you won't get a fancy, readable list with alias :)
4 comments
[ 2.4 ms ] story [ 27.1 ms ] thread