Commit 021563a0 authored by stimpy's avatar stimpy
Browse files

fixed gruntfile to not mess up binary files by only processing init.inc.php

parent efa3cfe9
......@@ -32,7 +32,6 @@ module.exports = function (grunt) {
},
copy: {
main: {
options: { process: function (content, srcpath ) { return content.replace(/'%VERSION%'/g, "'0.1.1'"); } },
files: [
// includes files within path and its sub-directories
{expand: true, cwd: 'src/assets/classes', src: ['**'], dest: 'dist/assets/classes/'},
......@@ -46,9 +45,14 @@ module.exports = function (grunt) {
{src: 'src/ajax.php', dest: 'dist/ajax.php'},
{src: 'src/bin/husky2ini.php', dest: 'dist/bin/husky2ini.php'},
{src: 'src/assets/include/areas.ini.dist', dest: 'dist/assets/include/areas.ini.dist'},
{src: 'src/assets/include/init.inc.php', dest: 'dist/assets/include/init.inc.php'},
{src: 'src/assets/include/config.inc.php.dist', dest: 'dist/assets/include/config.inc.php.dist'}
]
},
process: {
options: { process: function (content, srcpath ) { return content.replace(/'%VERSION%'/g, "'0.1.1'"); } },
files: [
{src: 'src/assets/include/init.inc.php', dest: 'dist/assets/include/init.inc.php'}
]
}
},
processhtml: {
......
dist/android-chrome-192x192.png

32.1 KB | W: | H:

dist/android-chrome-192x192.png

17.2 KB | W: | H:

dist/android-chrome-192x192.png
dist/android-chrome-192x192.png
dist/android-chrome-192x192.png
dist/android-chrome-192x192.png
  • 2-up
  • Swipe
  • Onion skin
dist/android-chrome-512x512.png

104 KB | W: | H:

dist/android-chrome-512x512.png

56 KB | W: | H:

dist/android-chrome-512x512.png
dist/android-chrome-512x512.png
dist/android-chrome-512x512.png
dist/android-chrome-512x512.png
  • 2-up
  • Swipe
  • Onion skin
dist/apple-touch-icon.png

13.8 KB | W: | H:

dist/apple-touch-icon.png

7.54 KB | W: | H:

dist/apple-touch-icon.png
dist/apple-touch-icon.png
dist/apple-touch-icon.png
dist/apple-touch-icon.png
  • 2-up
  • Swipe
  • Onion skin
dist/favicon-16x16.png

1.69 KB | W: | H:

dist/favicon-16x16.png

1.07 KB | W: | H:

dist/favicon-16x16.png
dist/favicon-16x16.png
dist/favicon-16x16.png
dist/favicon-16x16.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment