From 193e032259864dde8b05ca938f909a7ba40c1757 Mon Sep 17 00:00:00 2001 From: Waqas Ilyas Date: Fri, 23 Jun 2017 00:42:09 -0500 Subject: [PATCH] Adding build script and license info - Added a small build script to create *.bcpkg output file - Updated README with latest information, on usage and licenses - Added third-party licenses --- LICENSE | 5 ++--- LICENSE-3RD-PARTY.md | 13 +++++++++++++ README.md | 22 ++++++++++++++++++++-- build.sh | 35 +++++++++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+), 5 deletions(-) create mode 100644 LICENSE-3RD-PARTY.md create mode 100644 build.sh diff --git a/LICENSE b/LICENSE index da87599..c2d1f92 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ -The MIT License (MIT) +MIT License -Copyright (c) 2015 Waqas Ilyas +Copyright (c) 2017 Waqas Ilyas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/LICENSE-3RD-PARTY.md b/LICENSE-3RD-PARTY.md new file mode 100644 index 0000000..908e836 --- /dev/null +++ b/LICENSE-3RD-PARTY.md @@ -0,0 +1,13 @@ +# The MIT License (MIT) +### Applies to: [Json.NET](https://github.com/JamesNK/Newtonsoft.Json), Copyright (c) 2007 James Newton-King +----------------------------------------------------------------------------- +The MIT License (MIT) + +Copyright (c) 2007 James Newton-King + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/README.md b/README.md index d9dd27a..abd1afa 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ -# BeyondCompareBalsamic -An add-on file format for comparing balsamic "bmpr" mockup files. These files contain all mockups in a projects and are basically SQLite databse files. +# BMPR Support for Beyond Compare +A file format plugin for comparing Balsamiq Mockups Project (\*.bmpr) files in Beyond Compare 3 by converting them to JSON. The BMPR file type contains mockups, assets and symbols in a mockups project. + +# Usage + +1. Download latest Beyond Compare settings file (\*.bcpkg) from the [release section](../../releases/latest) +1. Import the settings file in Beyond Compare using one of the following options + 1. Double click the \*.bcpkg file + 1. Open Beyond Compare and choose the menu Tools > Import Settings... > Select \*.bcpkg file > Press Next +1. Check Balsmaic Mockups Project, press Next +1. Press Finish + +# Legal +Copyright (c) 2017 Waqas Ilyas +Licenced under [MIT License](LICENSE) + +Balsamiq is a trademark of Giacomo Guilizzoni, licensed to Balsamiq SRL and [Balsamiq Studios, LLC](https://balsamiq.com) +Beyond Compare is a trademark of [Scooter Software Inc.](http://scootersoftware.com) + +This software uses third-party libraries that are distributed under their own terms, see [LICENSE-3RD-PARTY](LICENSE-3RD-PARTY.md) diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..64acae4 --- /dev/null +++ b/build.sh @@ -0,0 +1,35 @@ +#!/bin/sh + +set -e + +# Configuration + +GITHUB_ORG=https://github.com/waqasilyas +REPO_NAME=json-converter-bmpr +VERSION=0.1 + +DOWNLOAD_URL=$GITHUB_ORG/$REPO_NAME/releases/download/v$VERSION/$REPO_NAME-$VERSION.zip + +OUTPUT_DIR=output +PLUGIN_DIR=Bmpr + +# Initialize directories +if [ -d "$OUTPUT_DIR" ]; then + rm -rf $OUTPUT_DIR +fi + +mkdir -p $OUTPUT_DIR/$PLUGIN_DIR + +# Download converter +echo Downloading $DOWNLOAD_URL +wget -T30 -Ooutput/$REPO_NAME.zip $DOWNLOAD_URL + +# Unpack converter and prepare output +cd output +7z x -tzip -o$PLUGIN_DIR $REPO_NAME.zip +mv $PLUGIN_DIR/$REPO_NAME-$VERSION $PLUGIN_DIR/$REPO_NAME + +cp ../BCFileFormats.xml . +cp ../JSonConverterBmpr.bat $PLUGIN_DIR + +7z a -tzip BCSettings.bcpkg Bmpr/ BCFileFormats.xml \ No newline at end of file