技术控

    今日:58| 主题:49211
收藏本版 (1)
最新软件应用技术尽在掌握

[其他] Tup – A file-based build system for Linux, OSX, and Windows

[复制链接]
曾那么需要你 发表于 2016-10-2 20:08:08
197 7

立即注册CoLaBug.com会员,免费获得投稿人的专业资料,享用更多功能,玩转个人品牌!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
Home

  What is tup?

  Tup is a file-based build system for Linux, OSX, and Windows. It inputs a list of file changes and a directed acyclic graph (DAG), then processes the DAG to execute the appropriate commands required to update dependent files. Updates are performed with very little overhead since tup implements powerful build algorithms to avoid doing unnecessary work. This means you can stay focused on your project rather than on your build system.
  Get tup

  Git Repository

  [code]$ git clone git://github.com/gittup/tup.git
$ cd tup
tup$ ./bootstrap.sh
tup$ man ./tup.1[/code]  Windows

  
       
  • Download latest version   
  • List of previous versions  
  Linux Ubuntu

  If you don't want to install tup from the git tree, you can use the unofficial tup PPA repository that works for Debian-based distributions (e.g. Ubuntu 10.04+).
  [code]sudo apt-add-repository 'deb http://ppa.launchpad.net/anatol/tup/ubuntu precise main'
sudo apt-get update
sudo apt-get install tup[/code]  MacOSX

   If you use the Homebrew package manager you can install tup as follows:
  [code]brew tap homebrew/fuse
brew install homebrew/fuse/tup[/code]  If you useMacPortsinstall tup as:
  [code]sudo port install tup[/code]  Why tup?

   You can use tup anywhere you would use another build system (like make, or any of its derivatives). One reason you would want to use tup is if you like to update things very quickly. For example, if you typically execute a build in a subdirectory because it takes too long to figure out what to do when you execute the build from the top, you might want to look into tup. Unfortunately, tup is so fast that your chair mounted jousting might suffer. I apologize in advance if someone besmirches your honor and you are unable to properly defend yourself as a result.
  Wha tup?

  Nothing much, just writing some web pages. What's up with you?
  Why is it so awesome?

  
       
  • It isvery fast.   
  • It will automatically clean-up old files.   
  • It will detect if your build description isn't parallel-safe, and tell you.  
  What this means is:
  
       
  • Your edit/compile/test cycle is quick, even if your project is large. You just run: tup upd   
  • You don't have to outsmart your build system by starting it in a subdirectory to make it go faster. Anywhere in the tree: tup upd   
  • Your version control lets you rename a file. Does your build system? tup upd   
  • Fresh checkouts: gone.
    'clean' builds: gone.
    Worries: gone.
    What remains: tup upd  
  How is it so awesome?

  In a typical build system, the dependency arrows go down. Although this is the way they would naturally go due to gravity, it is unfortunately also where the enemy's gate is. This makes it very inefficient and unfriendly. In tup, the arrows go up. This is obviously true because it rhymes. See how the dependencies differ in make and tup:
                    Make
      
Tup – A file-based build system for Linux, OSX, and Windows-1 (no,build,system,sublime,build,system,build,system,android,build,system)
                     Tup

Tup – A file-based build system for Linux, OSX, and Windows-2 (no,build,system,sublime,build,system,build,system,android,build,system)
              See the difference? The arrows go up. This makes it very fast. In fact, in at least one case, tup is optimal. See the Build System Rules and Algorithms (PDF) paper for more detailed information.
友荐云推荐




上一篇:DOM编程之API学习总结篇
下一篇:javascript笔记基础总结篇
酷辣虫提示酷辣虫禁止发表任何与中华人民共和国法律有抵触的内容!所有内容由用户发布,并不代表酷辣虫的观点,酷辣虫无法对用户发布内容真实性提供任何的保证,请自行验证并承担风险与后果。如您有版权、违规等问题,请通过"联系我们"或"违规举报"告知我们处理。

相关帖子

黄强 发表于 2016-10-2 22:00:17
众里寻他千百度,蓦然回首在这里!
回复 支持 反对

使用道具 举报

雅霜 发表于 2016-10-3 03:28:10
楼主,你说,你几个意思?
回复 支持 反对

使用道具 举报

远昼 发表于 2016-10-6 02:57:34
土豪,交个朋友
回复 支持 反对

使用道具 举报

无视ABC的李树彬 发表于 2016-11-11 13:55:55
沙发是我的,谁也不要抢!
回复 支持 反对

使用道具 举报

笨阿本 发表于 2016-11-12 17:08:35
别人的钱财乃我的身外之物.
回复 支持 反对

使用道具 举报

新儿 发表于 2016-11-17 20:13:13
看帖要回,回帖才健康
回复 支持 反对

使用道具 举报

ashui001 发表于 2016-11-21 06:44:37
围观 围观 沙发在哪里!!!
回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

我要投稿

推荐阅读

扫码访问 @iTTTTT瑞翔 的微博
回页顶回复上一篇下一篇回列表手机版
手机版/CoLaBug.com ( 粤ICP备05003221号 | 文网文[2010]257号 )|网站地图 酷辣虫

© 2001-2016 Comsenz Inc. Design: Dean. DiscuzFans.

返回顶部 返回列表