diff --git a/component.json b/component.json new file mode 100644 index 00000000..948b698d --- /dev/null +++ b/component.json @@ -0,0 +1,11 @@ +{ + "name": "DataTables", + "version": "1.9.4.dev", + "main": [ + "./media/js/jquery.dataTables.js", + "./media/css/jquery.dataTables.css", + ], + "dependencies": { + "jquery": "~1.8.0" + } +} diff --git a/package.json b/package.json index aa67c555..180ed45b 100644 --- a/package.json +++ b/package.json @@ -1,34 +1,34 @@ { - "name": "DataTables", - "version": "1.9.2", - "title": "DataTables", - "author": { - "name": "Allan Jardine", - "url": "http://sprymedia.co.uk" - }, - "licenses": [ - { - "type": "BSD", - "url": "http://datatables.net/license_bsd" - }, - { - "type": "GPLv2", - "url": "http://datatables.net/license_gpl2" - } - ], - "dependencies": { - "jquery": "1.3 - 1.7" - }, - "description": "DataTables enhances HTML tables with the ability to sort, filter and page the data in the table very easily. It provides a comprehensive API and set of configuration options, allowing you to consume data from virtually any data source.", - "keywords": [ - "DataTables", - "DataTable", - "table", - "grid", - "filter", - "sort", - "page", - "internationalisable" - ], - "homepage": "http://datatables.net" -} \ No newline at end of file + "name": "DataTables", + "version": "1.9.4.dev", + "title": "DataTables", + "author": { + "name": "Allan Jardine", + "url": "http://sprymedia.co.uk" + }, + "licenses": [ + { + "type": "BSD", + "url": "http://datatables.net/license_bsd" + }, + { + "type": "GPLv2", + "url": "http://datatables.net/license_gpl2" + } + ], + "dependencies": { + "jquery": "1.4 - 1.8" + }, + "description": "DataTables enhances HTML tables with the ability to sort, filter and page the data in the table very easily. It provides a comprehensive API and set of configuration options, allowing you to consume data from virtually any data source.", + "keywords": [ + "DataTables", + "DataTable", + "table", + "grid", + "filter", + "sort", + "page", + "internationalisable" + ], + "homepage": "http://datatables.net" +} diff --git a/scripts/make.sh b/scripts/make.sh index fa44899d..fabc7d80 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -99,6 +99,65 @@ if [ "$CMD" != "debug" ]; then fi fi + +# Back to DataTables root dir +cd ../.. + +# +# Packaging files +# +cat < package.json +{ + "name": "DataTables", + "version": "${VERSION}", + "title": "DataTables", + "author": { + "name": "Allan Jardine", + "url": "http://sprymedia.co.uk" + }, + "licenses": [ + { + "type": "BSD", + "url": "http://datatables.net/license_bsd" + }, + { + "type": "GPLv2", + "url": "http://datatables.net/license_gpl2" + } + ], + "dependencies": { + "jquery": "1.4 - 1.8" + }, + "description": "DataTables enhances HTML tables with the ability to sort, filter and page the data in the table very easily. It provides a comprehensive API and set of configuration options, allowing you to consume data from virtually any data source.", + "keywords": [ + "DataTables", + "DataTable", + "table", + "grid", + "filter", + "sort", + "page", + "internationalisable" + ], + "homepage": "http://datatables.net" +} +EOF + +cat < component.json +{ + "name": "DataTables", + "version": "${VERSION}", + "main": [ + "./media/js/jquery.dataTables.js", + "./media/css/jquery.dataTables.css", + ], + "dependencies": { + "jquery": "~1.8.0" + } +} +EOF + + echo " Done\n"