fix(date): copyright year auto-updates

This commit is contained in:
Evan Morikawa 2016-01-04 09:41:28 -08:00
parent 141b2e73c9
commit d3d2bd35ec

View file

@ -45,10 +45,11 @@ module.exports = (grunt) ->
shellAppDir = grunt.config.get('nylasGruntConfig.shellAppDir')
shellExePath = path.join(shellAppDir, 'nylas.exe')
year = new Date().getFullYear()
strings =
CompanyName: 'Nylas, Inc.'
FileDescription: 'Nylas'
LegalCopyright: 'Copyright (C) 2014-2015 Nylas, Inc. All rights reserved'
LegalCopyright: "Copyright (C) 2014-#{year} Nylas, Inc. All rights reserved"
ProductName: 'Nylas'
ProductVersion: version