mirror of
https://github.com/sparanoid/chinese-copywriting-guidelines.git
synced 2026-04-05 12:41:23 +08:00
32 lines
743 B
CoffeeScript
32 lines
743 B
CoffeeScript
"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")
|
|
|
|
release:
|
|
options:
|
|
changelog: false,
|
|
file: "package.json"
|
|
npm: false
|
|
commitMessage: "chore: release <%= version %>"
|
|
tagName: "v<%= version %>"
|
|
tagMessage: "chore: tagging version <%= version %>"
|
|
afterBump: [
|
|
"changelog"
|
|
]
|
|
# Dev options
|
|
commit: false
|
|
tag: false
|
|
push: false
|
|
pushTags: false
|
|
|
|
grunt.registerTask "default", "Default task aka. build task", [
|
|
"changelog"
|
|
]
|