如何在版本控制下放置AppleScript脚本? [英] How would you put an AppleScript script under version control?

查看:159
本文介绍了如何在版本控制下放置AppleScript脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




  • 放入 .applescript files under version control

  • 创建一个安装脚本,用 osacompile



但也有 .scptd 目录。或者我可以在版本控制下放置 .applescript .scpt 文件?



什么是最佳解决方案?

解决方案

我总是将.applescript(纯文本文件)控制( SVN )。这样我可以轻松地比较不同的版本,而且对于多用户也很容易。您可以突出显示其他用户所做的更改。对于二进制文件(如编译脚本文件),这是不可能的。

I was wondering if this was the best solution:

  • Put the .applescript files under version control
  • Create an installation script to compile the files with osacompile

But there is also the .scptd directory. Or I could put both .applescript and .scpt files under version control?

What is the best solution?

解决方案

I always put the .applescript (plain text files) in version control (SVN). This way I can easily compare between different versions, and it is also quite easy if for multiusers. You can highlight the changes that has been made by other users. This is not possible with binary files, like compiled script files.

这篇关于如何在版本控制下放置AppleScript脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆