Subversion - 什么工具可以帮助我打包项目?
我已经在我的计算机上设置了 subversion
是否有一个工具可以在我提交时为我的项目构建包?
谢谢
I have set up subversion on my computer
Is there a tool that can build a package for my project when i commit ?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这是一个什么样的项目?
有各种持续集成服务器可以轮询 subversion 的更改,并在每次发现新提交时执行构建和运行测试。
一种非常流行的服务器是 Jenkins
Jenkins 主要用于构建基于 Java 的项目,但我认为也有用于构建不同类型项目的插件。
无论您的项目是什么类型的技术,我确信都有一个持续集成服务器可以满足您的需求。
What kind of project is it?
There are various continuous integration servers that can poll subversion for changes, and perform a build and run tests each time a new commit is found.
One such server that is quite popular is Jenkins
Jenkins is primarely for building Java based projects, but I think there are plugins for building different kind of projects as well.
No matter what kind of technology your project is, I'm sure there's a continuous integration server available that fits your needs.
您需要某种提交后挂钩:一个脚本每次提交时都会执行。
正如 @rlovtang 提到的,可能还有某种适合您的特定项目类型的持续集成软件。
You want some sort of post-commit hook: a script that executes every time you commit.
There may also be some sort of continuous integration software for your particular project type, as @rlovtang mentions.
这是一个 javascript 项目,只需在我提交后打包所有文件
并在本地计算机中运行它,无需连接到另一台服务器
It's is a javascript project and just package all file after time i commit
and i run it in my local computer, no connect to another server