2015-04-01 02:38:21 +03:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
module.exports = function (grunt) {
|
2015-08-04 17:41:07 +03:00
|
|
|
'use strict'
|
2015-04-01 02:38:21 +03:00
|
|
|
|
|
|
|
grunt.config('copyright', {
|
|
|
|
app: {
|
|
|
|
src: [
|
2017-11-28 04:26:24 +03:00
|
|
|
'{bin,config,db-server/lib,lib,lib/db,scripts}/*.js'
|
2015-04-01 02:38:21 +03:00
|
|
|
],
|
|
|
|
options: {
|
2015-06-12 09:52:11 +03:00
|
|
|
pattern: 'This Source Code Form is subject to the terms of the Mozilla Public'
|
2015-04-01 02:38:21 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
tests: {
|
|
|
|
src: [
|
2015-08-04 17:41:07 +03:00
|
|
|
'test/{remote,local,backend}/*.js',
|
2017-11-28 04:26:24 +03:00
|
|
|
'db-server/test/{backend,local}/*.js'
|
2015-04-01 02:38:21 +03:00
|
|
|
],
|
|
|
|
options: {
|
|
|
|
pattern: 'Any copyright is dedicated to the Public Domain.'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|