您如何将 AppleScript 脚本置于版本控制之下? [英] How would you put an AppleScript script under version control?

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

问题描述

我想知道这是否是最好的解决方案:

I was wondering if this was the best solution:

  • .applescript 文件置于版本控制之下
  • 创建安装脚本以使用 osacompile
  • 编译文件
  • Put the .applescript files under version control
  • Create an installation script to compile the files with osacompile

但也有 .scptd 目录.或者我可以将 .applescript.scpt 文件都置于版本控制之下?

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

最好的解决方案是什么?

What is the best solution?

推荐答案

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

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天全站免登陆