Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Adding latest no found
Browse files Browse the repository at this point in the history
  • Loading branch information
ecoslado committed Mar 13, 2017
1 parent aa61ead commit b74495c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
config*.xml
*.zip
localconfig.json
node_modules
/nbproject/private/
/nbproject
doofinder.log
test_doofinder.php
/deploy
/deploy
22 changes: 22 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,19 @@ module.exports = function(grunt) {
{expand: true, src: 'views/**', dest: 'release/doofinder'}
]
},
release_no_full: {
files: [
{expand: true, src: '*.php', dest: 'release/doofinder'},
{expand: true, src: '*.tpl', dest: 'release/doofinder'},
{expand: true, src: '*.md', dest: 'release/doofinder'},
{expand: true, src: 'logo.*', dest: 'release/doofinder'},
{expand: true, src: 'css/**', dest: 'release/doofinder'},
{expand: true, src: 'js/**', dest: 'release/doofinder'},
{expand: true, src: 'translations/**', dest: 'release/doofinder'},
{expand: true, src: 'lib/**', dest: 'release/doofinder'},
{expand: true, src: 'views/**', dest: 'release/doofinder'}
]
},
latest_to_version: {
files: [
{src: 'dist/doofinder-p1.5-latest.zip', dest: 'dist/doofinder-p1.5-<%= packageconfig.version %>.zip'}
Expand All @@ -56,6 +69,14 @@ module.exports = function(grunt) {
files: [
{expand: true, cwd: 'release', src: '**/*'}
]
},
release_no_full: {
options: {
archive: 'dist/doofinder-p1.5-latest-no-full.zip'
},
files: [
{expand: true, cwd: 'release', src: '**/*'}
]
}
},
clean: {
Expand Down Expand Up @@ -89,4 +110,5 @@ module.exports = function(grunt) {

grunt.registerTask('default', ['copy:sync', 'watch:dev']);
grunt.registerTask('release', ['version:release', 'copy:release', 'compress:release', 'copy:latest_to_version', 'clean:release']);
grunt.registerTask('release_no_full', ['version:release', 'copy:release_no_full', 'compress:release_no_full', 'clean:release']);
};
Binary file added dist/doofinder-p1.5-latest-no-full.zip
Binary file not shown.
Binary file modified dist/doofinder-p1.5-latest.zip
Binary file not shown.

0 comments on commit b74495c

Please sign in to comment.