diff --git a/.gitignore b/.gitignore
index 53b7af4..b462f3d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
*.swp
*.swo
*~
+node_modules
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 0000000..4982baa
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,127 @@
+var which;
+module.exports = function(grunt) {
+
+ grunt.initConfig({
+ pkg: grunt.file.readJSON('package.json'),
+ uglify: {
+ main: {
+ files: [
+ {
+ expand: true,
+ cwd: 'Shared/js/',
+ src: '**',
+ dest: 'build/mobile/js/',
+ filter: 'isFile'
+ },
+ {
+ expand: true,
+ cwd: 'Shared/js',
+ src: '**',
+ dest: 'build/web/js',
+ filter: 'isFile'
+ },
+ {
+ expand: true,
+ cwd: 'Mobile/js/',
+ src: '*',
+ dest: 'build/mobile/js',
+ filter: 'isFile'
+ },
+ {
+ expand: true,
+ cwd: 'Web/js/',
+ src: '*',
+ dest: 'build/web/js',
+ filter: 'isFile'
+ }
+ ]
+ }
+ },
+ less: {
+ production: {
+ files: {
+ 'build/mobile/css/main.css': 'Shared/css/main.less',
+ 'build/web/css/main.css': 'Shared/css/main.less'
+ },
+ compress: true
+ }
+ },
+ copy: {
+ 'main files': {
+ files: [
+ {
+ expand: true,
+ cwd: 'Shared',
+ src: 'img',
+ dest: 'build/mobile'
+ },
+ {
+ expand: true,
+ cwd: 'Shared',
+ src: 'img',
+ dest: 'build/web'
+ },
+ {
+ expand: true,
+ cwd: 'Mobile',
+ src: ['index.html', 'manifest.webapp'],
+ dest: 'build/mobile'
+ },
+ {
+ expand: true,
+ cwd: 'Web',
+ src: ['index.html', 'manifest.webapp', 'cache.appcache'],
+ dest: 'build/web'
+ }
+ ]
+ },
+ 'css assets': {
+ files: [
+ {
+ expand: true,
+ cwd: 'Shared/css',
+ src: '*/**',
+ dest: 'build/mobile/css'
+ },
+ {
+ expand: true,
+ cwd: 'Shared/css',
+ src: '*/**',
+ dest: 'build/web/css'
+ }
+ ]
+ }
+ },
+
+ watch: {
+ js: {
+ files: ['Shared/js/**', 'Mobile/js/**', 'Web/js/**'],
+ tasks: 'uglify',
+ options: {
+ spawn: false
+ }
+ },
+ less: {
+ files: 'Shared/css/**',
+ tasks: 'less',
+ options: {
+ spawn: false
+ }
+ },
+ copy: {
+ files: 'Shared/**',
+ tasks: 'copy',
+ options: {
+ spawn: false
+ }
+ }
+ }
+ });
+
+ grunt.loadNpmTasks('grunt-contrib-uglify');
+ grunt.loadNpmTasks('grunt-contrib-less');
+ grunt.loadNpmTasks('grunt-contrib-copy');
+ grunt.loadNpmTasks('grunt-contrib-watch');
+ grunt.registerTask('default', ['uglify','copy', 'less'])
+
+}
diff --git a/Mobile/index.html b/Mobile/index.html
index f7628c0..5620125 100755
--- a/Mobile/index.html
+++ b/Mobile/index.html
@@ -253,8 +253,9 @@
-
-
+
+
+