-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump version to 1.0.0 and add Gruntfile for building release pkg
Bumped AWS SDK version to latest v3.x. Also relicensed to EUPL-1.2.
- Loading branch information
Showing
9 changed files
with
5,769 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
*.iml | ||
composer.phar | ||
/vendor/ | ||
node_modules | ||
pkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/** | ||
* @package omeka-amazon-s3-storage-adapter | ||
* @copyright King's College London Department of Digital Humanities | ||
* @license https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12 | ||
*/ | ||
|
||
module.exports = function(grunt) { | ||
|
||
grunt.loadNpmTasks('grunt-contrib-compress'); | ||
|
||
var pkg = grunt.file.readJSON('package.json'); | ||
|
||
grunt.initConfig({ | ||
|
||
compress: { | ||
|
||
dist: { | ||
options: { | ||
archive: 'pkg/omeka-amazon-s3-storage-adapter-'+pkg.version+'.zip' | ||
}, | ||
dest: 'AmazonS3StorageAdapter/', | ||
src: [ | ||
|
||
'**', | ||
|
||
// GIT | ||
'!.git/**', | ||
'!.gitignore', | ||
|
||
// NPM | ||
'!package.json', | ||
'!package-lock.json', | ||
'!node_modules/**', | ||
|
||
// GRUNT | ||
'!.grunt/**', | ||
'!Gruntfile.js', | ||
|
||
// DIST | ||
'!pkg/**', | ||
|
||
// Editor settings | ||
'!*.vim', | ||
'!.idea', | ||
'!*.iml', | ||
] | ||
} | ||
|
||
} | ||
|
||
}); | ||
|
||
// Spawn release package. | ||
grunt.registerTask('package', [ | ||
'compress' | ||
]); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.