Skip to content

Commit

Permalink
Adding build script and license info
Browse files Browse the repository at this point in the history
 - Added a small build script to create *.bcpkg output file
 - Updated README with latest information, on usage and licenses
 - Added third-party licenses
  • Loading branch information
waqasilyas committed Jun 23, 2017
1 parent f1e9aad commit 193e032
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 5 deletions.
5 changes: 2 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.

13 changes: 13 additions & 0 deletions LICENSE-3RD-PARTY.md
Original file line number Diff line number Diff line change
@@ -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.

22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
35 changes: 35 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 193e032

Please sign in to comment.