当前位置: 首页 > news >正文

织梦网站中的对话框怎摸做百度宣传推广费用

织梦网站中的对话框怎摸做,百度宣传推广费用,阿里云需要网站建设方案书,咸阳万企网站建设git 提交代码&#xff0c;推送代码&#xff0c;可以通过在 .git/hooks 目录中的 bash 脚本来做一定的验证工作。 本例使用插件 maven-antrun-plugin 自动输出脚本至 .git/hooks 目录中&#xff0c;在 pom.xml 中的使用示例如下&#xff1a; <plugin><groupId>org.…

git 提交代码,推送代码,可以通过在 .git/hooks 目录中的 bash 脚本来做一定的验证工作。

本例使用插件 maven-antrun-plugin 自动输出脚本至 .git/hooks 目录中,在 pom.xml 中的使用示例如下:

        <plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-antrun-plugin</artifactId><executions><execution><phase>generate-sources</phase><goals><goal>run</goal></goals><configuration><tasks><!-- 生成commit-msg文件 --><echo file="${basedir}/.git/hooks/commit-msg"message="#!/usr/bin/env bash${line.separator}${line.separator}"/><echo file="${basedir}/.git/hooks/commit-msg" append="true"message="# Color codes${line.separator}red='\033[0;31m'${line.separator}yellow='\033[0;33m'${line.separator}blue='\033[0;34m'${line.separator}NC='\033[0m' # No colors"/><echo file="${basedir}/.git/hooks/commit-msg" append="true"message="${line.separator}${line.separator}"/><echo file="${basedir}/.git/hooks/commit-msg" append="true"message="# Regex &amp; Usage${line.separator}commit_regex=&quot;^(\[[A-Za-z]+\-[0-9]+\]|merge|Merge)\s&quot;${line.separator}error_message=&quot;Aborting commit. Commit message must start with ${yellow} 开发任务编号&quot;${line.separator}usage=&quot;开发任务编号 Commit Message. \n${blue}示例: [TASK-101] 完成A功能开发&quot;"/><echo file="${basedir}/.git/hooks/commit-msg" append="true"message="${line.separator}${line.separator}"/><echo file="${basedir}/.git/hooks/commit-msg" append="true"message="if ! grep -qE &quot;$commit_regex&quot; &quot;$1&quot;; then${line.separator}"/><echo file="${basedir}/.git/hooks/commit-msg" append="true"message="  printf &quot;${red}$error_message\n&quot;${line.separator}"/><echo file="${basedir}/.git/hooks/commit-msg" append="true"message="  printf &quot;${yellow}Commit Regex: ${NC}${commit_regex}\n&quot;${line.separator}"/><echo file="${basedir}/.git/hooks/commit-msg" append="true"message="  printf &quot;${red}Usage: ${NC}${usage}\n&quot;${line.separator}"/><echo file="${basedir}/.git/hooks/commit-msg" append="true"message="  exit 1${line.separator}fi"/><!-- 生成pre-push文件 --><echo file="${basedir}/.git/hooks/pre-push"message="#!/usr/bin/env bash${line.separator}${line.separator}"/><echo file="${basedir}/.git/hooks/pre-push" append="true"message="# Color codes${line.separator}red='\033[0;31m'${line.separator}yellow='\033[0;33m'"/><echo file="${basedir}/.git/hooks/pre-push" append="true"message="${line.separator}${line.separator}"/><echo file="${basedir}/.git/hooks/pre-push" append="true"message="command=&quot;./mvnw.cmd clean test&quot;${line.separator}${command}"/><echo file="${basedir}/.git/hooks/pre-push" append="true"message="${line.separator}${line.separator}"/><echo file="${basedir}/.git/hooks/pre-push" append="true"message="if ! [ $? -eq 0 ]; then${line.separator}"/><echo file="${basedir}/.git/hooks/pre-push" append="true"message="  printf &quot;${red}Make sure successfully execute command: ${yellow}$command${red}.&quot;${line.separator}"/><echo file="${basedir}/.git/hooks/pre-push" append="true"message="  exit 1${line.separator}fi"/><!-- 设置权限 --><chmod dir="${basedir}/.git/hooks" perm="755" includes="**/*"/></tasks></configuration></execution></executions></plugin>

插件会自动输出 commit-msgpre-push 两个脚本文件


(END)

http://www.tj-hxxt.cn/news/83394.html

相关文章:

  • 潍坊一品网站制作软件开发平台
  • 如何用java做网站界面接广告的网站
  • 房产网站排行google谷歌搜索引擎入口
  • 国内哪里在搞建设台州网站优化公司
  • 宁波高端品牌网站建设公司网站seo公司
  • 建网站可以赚钱吗东莞头条最新新闻
  • 网站公司做销售怎么样百度极速版客服电话
  • 青岛做网站建设多少钱新闻摘抄四年级下册
  • 自学编程的网站网店代运营一年的费用是多少
  • 义乌网站建设哪家好搜索引擎优化策略不包括
  • 电气网站设计网站建设百度推广
  • 一级a做爰片就在线看网站免费ip地址网站
  • ppt简约大气模板关键词整站优化公司
  • 上海网站建设制作公司营销组合策略
  • 中国南京网站廊坊seo外包
  • 建立网站的必要性南宁优化推广服务
  • wordpress上传文件功能seo查询爱站
  • 拼多多cms网站怎么做抖音seo怎么收费
  • 邢台企业建站网上怎么推广产品
  • 免费做销售网站怎么样做推广最有效
  • 做网站一般有几个关键词求好用的seo软件
  • 微网站建设方向小说推文万能关键词
  • 交互网站怎么做的百度seo流量
  • 学些网站制作搜索引擎优化宝典
  • 南川网站建设seo排名优化技巧
  • 博客网站建设源码谷歌搜索引擎入口2021
  • 中国建设网网站佛山seo
  • 网站图片尺寸百度竞价托管哪家好
  • 桐城住房和城乡建设局网站交友网站有哪些
  • 龙华网站建设 信科网络如何做一个自己的电商平台