js: Include package version in built files

This commit is contained in:
Stein Magnus Jodal 2014-06-16 23:10:25 +02:00
parent af238d5259
commit 785c469ec4

View File

@ -2,8 +2,9 @@
module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
meta: {
banner: "/*! Mopidy.js - built " +
banner: "/*! Mopidy.js v<%= pkg.version %> - built " +
"<%= grunt.template.today('yyyy-mm-dd') %>\n" +
" * http://www.mopidy.com/\n" +
" * Copyright (c) <%= grunt.template.today('yyyy') %> " +