diff --git a/README.md b/README.md index d438049..cbe8f8c 100644 --- a/README.md +++ b/README.md @@ -49,11 +49,11 @@ After running the init command above, you will be presented with a standard dire .. .. .. /less .. .. /js .. .. .. /src - .. .. /img - .. .. .. /src + .. /images + .. .. /src .. /includes - .. /lang - .. .. plugin.po + .. /languages + .. .. plugin.pot .. .gitignore .. Gruntfile.js .. plugin.php @@ -63,13 +63,13 @@ After running the init command above, you will be presented with a standard dire Depending on how you answer the prompt regarding the use of a preprocessor, you will either have a `/src` directory (CSS), a `/sass` directory (Sass), or a `/less` directory (LESS) under your normal `/css` directory. The goal here is that you only ever edit files in the related source directory and Grunt will automatically build and minify your final stylesheets directly in `/css`. -If you're using Sass or Less, the raw files will be processed into `/css/filename.src.css` and minified into `/css/filename.min.css`. +If you're using Sass or Less, the raw files will be processed into `/css/filename.css` and minified into `/css/filename.min.css`. If you're using vanilla CSS, the source files will be minified into `/css/filename.min.css`. ### JavaScript -You should only ever be modifying script files in the `/js/src` directory. Grunt will automatically concatenate and minify your scripts into `/js/filename.src.js` and `/js/filename.min.js`. These generated files should never be modified directly. +You should only ever be modifying script files in the `/js/src` directory. Grunt will automatically concatenate and minify your scripts into `/js/filename.js` and `/js/filename.min.js`. These generated files should never be modified directly. ### Images @@ -77,5 +77,6 @@ The `/img/src` directory exists only to allow you to keep track of source files ## Release History - * 2013-04-26 v0.1.1 Minor bug fixes + * 2013-04-29 v0.1.2 Folder restructuring and renaming. + * 2013-04-26 v0.1.1 Minor bug fixes. * 2013-04-25 v0.1.0 Initial public release. diff --git a/rename.json b/rename.json index 970cc7d..6ba044d 100644 --- a/rename.json +++ b/rename.json @@ -4,5 +4,5 @@ "assets/css/sass/plugin.scss": "assets/css/sass/{%= js_safe_name %}.scss", "assets/css/src/plugin.css": "assets/css/src/{%= js_safe_name %}.css", "assets/css/js/src/plugin.js": "assets/css/js/src/{%= js_safe_name %}.js", - "lang/plugin.po": "lang/{%= prefix %}.po" + "languages/plugin.pot": "languages/{%= prefix %}.pot" } \ No newline at end of file diff --git a/root/Gruntfile.js b/root/Gruntfile.js index 16d7755..4d94187 100644 --- a/root/Gruntfile.js +++ b/root/Gruntfile.js @@ -16,7 +16,7 @@ module.exports = function( grunt ) { src: [ 'assets/js/src/{%= js_safe_name %}.js' ], - dest: 'assets/js/{%= js_safe_name %}.src.js' + dest: 'assets/js/{%= js_safe_name %}.js' } }, jshint: { @@ -45,7 +45,7 @@ module.exports = function( grunt ) { uglify: { all: { files: { - 'assets/js/{%= js_safe_name %}.min.js': ['assets/js/{%= js_safe_name %}.src.js'] + 'assets/js/{%= js_safe_name %}.min.js': ['assets/js/{%= js_safe_name %}.js'] }, options: { banner: '/*! <%= pkg.title %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %>\n' + @@ -91,7 +91,7 @@ module.exports = function( grunt ) { expand: true, {% if ('sass' === css_type || 'less' === css_type) { %} cwd: 'assets/css/', - src: ['{%= js_safe_name %}.src.css'], + src: ['{%= js_safe_name %}.css'], {% } else { %} cwd: 'assets/css/src/', src: ['{%= js_safe_name %}.css'], diff --git a/root/assets/img/README.md b/root/images/README.md similarity index 100% rename from root/assets/img/README.md rename to root/images/README.md diff --git a/root/assets/img/src/README.md b/root/images/src/README.md similarity index 100% rename from root/assets/img/src/README.md rename to root/images/src/README.md diff --git a/root/lang/plugin.po b/root/languages/plugin.pot similarity index 100% rename from root/lang/plugin.po rename to root/languages/plugin.pot diff --git a/root/plugin.php b/root/plugin.php index 6fc7166..180b490 100644 --- a/root/plugin.php +++ b/root/plugin.php @@ -8,9 +8,7 @@ * Author URI: {%= author_url %} * License: GPLv2+ */ -?> - \ No newline at end of file