From f2db18dc53211a4e46727d3558f5563b8d5077e2 Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Sat, 12 Mar 2016 16:13:04 +0900 Subject: Add bintray deploy in travis build. --- .bintray.in | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .bintray.in (limited to '.bintray.in') diff --git a/.bintray.in b/.bintray.in new file mode 100644 index 0000000..e38c1db --- /dev/null +++ b/.bintray.in @@ -0,0 +1,43 @@ +{ + /* Bintray package information. + In case the package already exists on Bintray, only the name, repo and subject + fields are mandatory. */ + + "package": { + "name": "releases", // Bintray package name + "repo": "tinyobjloader", // Bintray repository name + "subject": "syoyo" // Bintray subject (user or organization) + }, + + /* Package version information. + In case the version already exists on Bintray, only the name fields is mandatory. */ + + "version": { + "name": "@VERSION@", + "desc": "@VERSION@", + "released": "@DATE@", + "vcs_tag": "@VERSION@", + "gpgSign": false + }, + + /* Configure the files you would like to upload to Bintray and their upload path. + You can define one or more groups of patterns. + Each group contains three patterns: + + includePattern: Pattern in the form of Ruby regular expression, indicating the path of files to be uploaded to Bintray. + excludePattern: Optional. Pattern in the form of Ruby regular expression, indicating the path of files to be removed from the list of files specified by the includePattern. + uploadPattern: Upload path on Bintray. The path can contain symbols in the form of $1, $2,... that are replaced with capturing groups defined in the include pattern. + + In the example below, the following files are uploaded, + 1. All gem files located under build/bin/ (including sub directories), + except for files under a the do-not-deploy directory. + The files will be uploaded to Bintray under the gems folder. + 2. All files under build/docs. The files will be uploaded to Bintray under the docs folder. + + Note: Regular expressions defined as part of the includePattern property must be wrapped with brackets. */ + + "files": + [ "tiny_obj_loader.h" ], + "publish": true +} + -- cgit v1.2.3 From 31c66335358f97b9a59d697effed474fe793a3b9 Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Sat, 12 Mar 2016 16:27:58 +0900 Subject: Fix file patterns in bintray description. --- .bintray.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.bintray.in') diff --git a/.bintray.in b/.bintray.in index e38c1db..ba1a949 100644 --- a/.bintray.in +++ b/.bintray.in @@ -37,7 +37,7 @@ Note: Regular expressions defined as part of the includePattern property must be wrapped with brackets. */ "files": - [ "tiny_obj_loader.h" ], + [ {"includePattern": "(tiny_obj_loader\.h)", "uploadPattern": "$1"} ], "publish": true } -- cgit v1.2.3 From d688bbd9107590039257e4e8509406fd515b61a3 Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Sat, 12 Mar 2016 17:16:50 +0900 Subject: Create dist directory to specify uploading files. --- .bintray.in | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to '.bintray.in') diff --git a/.bintray.in b/.bintray.in index ba1a949..4336d65 100644 --- a/.bintray.in +++ b/.bintray.in @@ -28,16 +28,10 @@ excludePattern: Optional. Pattern in the form of Ruby regular expression, indicating the path of files to be removed from the list of files specified by the includePattern. uploadPattern: Upload path on Bintray. The path can contain symbols in the form of $1, $2,... that are replaced with capturing groups defined in the include pattern. - In the example below, the following files are uploaded, - 1. All gem files located under build/bin/ (including sub directories), - except for files under a the do-not-deploy directory. - The files will be uploaded to Bintray under the gems folder. - 2. All files under build/docs. The files will be uploaded to Bintray under the docs folder. - Note: Regular expressions defined as part of the includePattern property must be wrapped with brackets. */ "files": - [ {"includePattern": "(tiny_obj_loader\.h)", "uploadPattern": "$1"} ], + [ {"includePattern": "dist/(.*)", "uploadPattern": "$1"} ], "publish": true } -- cgit v1.2.3