minor database.sql syntax fixes
[openemr.git] / public / assets / bootstrap-rtl-3-3-4 / Gruntfile.js
blob4e4f7c1938ba1fb64ef4d7b41dbe6b310e6dd176
1 module.exports = function(grunt) {
2   "use strict";
4   // Project configuration
5   grunt.initConfig({
6     // Read package.json Metadata.
7     pkg: grunt.file.readJSON('package.json'),
8     banner: '/*******************************************************************************\n' +
9             ' *              <%= pkg.name %> (version <%= pkg.version %>)\n' +
10             ' *      Author: <%= pkg.author %>\n' +
11             ' *  Created on: <%= grunt.template.today("mmmm dd,yyyy") %>\n' +
12             ' *     Project: <%= pkg.name %>\n' +
13             ' *   Copyright: Unlicensed Public Domain\n' +
14             ' *******************************************************************************/\n',
15     less: {
16       rtl: {
17         options: {
18           strictMath: true,
19           cleancss: false,
20           sourceMap: true,
21           outputSourceFiles: true,
22           sourceMapURL: '<%= pkg.name %>.css.map',
23           sourceMapFilename: 'dist/css/<%= pkg.name %>.css.map' 
24         },
25         files: {
26           'dist/css/<%= pkg.name %>.css': 'less/bootstrap-rtl.less'
27         }
28       },
29       flipped: {
30         options: {
31           strictMath: true,
32           cleancss: false,
33           sourceMap: true,
34           outputSourceFiles: true,
35           sourceMapURL: '<%= pkg.name %>-flipped.css.map',
36           sourceMapFilename: 'dist/css/bootstrap-flipped.css.map' 
37         },
38         files: {
39           'dist/css/bootstrap-flipped.css': 'less/bootstrap-flipped.less'
40         }
41       },
42       minify: {
43         options: {
44           cleancss: true
45         },
46         files: {
47           'dist/css/<%= pkg.name %>.min.css': 'dist/css/<%= pkg.name %>.css',
48           'dist/css/bootstrap-flipped.min.css': 'dist/css/bootstrap-flipped.css',
49         }
50       }
51     },
53     usebanner: {
54         options: {
55           position: 'top',
56           banner: '<%= banner %>',
57           linebreak: true
59         },
60         files: {
61           src: ['dist/css/<%= pkg.name %>.css', 
62                 'dist/css/bootstrap-flipped.css', 
63                 'dist/css/<%= pkg.name %>.min.css',
64                 'dist/css/bootstrap-flipped.min.css']
65         }        
66     }
67   });
70 // Load uglify plugin
71 grunt.loadNpmTasks('grunt-contrib-less');
72 grunt.loadNpmTasks('grunt-banner');
74 // Default Task
75 grunt.registerTask('default', ['less', 'usebanner']);