gitDiffEnhancer 基于git diff 处理增量包
python gitDiffEnhancer.py --pname=E:\IdeaProjects\kbase-weixin --ocid=02c678b --ncid=f7a4d39
--pname: 项目工作区路径 --ocid: older commit id --ncid:newer commit id
- 基于Maven3+JDK8 测试通过,对IDEA的非实时编译性做了处理
- 使用前先检查 git及mvn命令是否能使用
- pom.xml 需要配置maven-dependency-plugin插件
1. maven-dependency-plugin插件配置Demo
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
</execution>
</executions>
<configuration>
<includeScope>compile</includeScope>
</configuration>
</plugin>