Gruntfile.js revision 494bebac1636810e5ff37c205fd77a119144957a
0N/A * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
0N/A * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
0N/A nonCompiledFiles = [
copy: {
* Copy all the sources and resources from this project and all dependencies into the composition directory.
* TODO: This copying shouldn't really be necessary, but is required because the dependencies are all over
compose: {
expand: true,
compiled: {
files: [{
expand: true,
eslint: {
lint: {
src: [
options: {
less: {
compile: {
files: [{
options: {
compress: true,
plugins: [
relativeUrls: true
qunit: {
replace: {
* This is needed to force the browser to refetch JavaScript files when a new version of AM is deployed.
buildNumber: {
replacements: [{
requirejs: {
compile: {
options: {
preserveLicenseComments: false,
generateSourceMaps: true,
sync: {
* Copy all the sources and resources from this project and all dependencies into the composition directory.
compose: {
* Note that this also copies main.js because the requirejs step is not being performed when watching (it
compiled: {
files: [{
server: {
files: [{
verbose: true,
testServer: {
verbose: true,
watch: {
source: {
test: {
notify_hooks: {
options: {
enabled: true,