6 Star 36 Fork 3

KiCad-CN / chinese-copywriting-guidelines

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Gruntfile.coffee 986 Bytes
一键复制 编辑 原始数据 按行查看 历史
sparanoid 提交于 2015-08-12 18:51 . feat(grunt): better version handling
"use strict"
module.exports = (grunt) ->
# Load all grunt tasks
require("matchdep").filterDev("grunt-*").forEach grunt.loadNpmTasks
# Project configurations
grunt.initConfig
config:
pkg: grunt.file.readJSON("package.json")
"npm-contributors":
options:
commitMessage: "feat(package): update contributors"
conventionalChangelog:
options:
changelogOpts:
preset: "angular"
dist:
src: "CHANGELOG.md"
bump:
options:
files: ["package.json"]
commitMessage: 'chore: release v%VERSION%'
commitFiles: ["-a"]
tagMessage: 'chore: create tag %VERSION%'
push: false
grunt.registerTask "default", "Default task aka. build task", [
"changelog"
]
grunt.registerTask "default", "Default task aka. build task", (type) ->
grunt.task.run [
"npm-contributors"
"bump-only:#{type or 'patch'}"
"conventionalChangelog"
"bump-commit"
]
CoffeeScript
1
https://gitee.com/KiCAD-CN/chinese-copywriting-guidelines.git
git@gitee.com:KiCAD-CN/chinese-copywriting-guidelines.git
KiCAD-CN
chinese-copywriting-guidelines
chinese-copywriting-guidelines
master

搜索帮助