Sha256: f53ce0ab28bebec746d57d9e71e8766d600be83eaead81f0821ccfe48fa6f33b

Contents?: true

Size: 583 Bytes

Versions: 48

Compression:

Stored size: 583 Bytes

Contents

#!/bin/bash
#/ Usage: script/package [PLATFORM] [VERSION]
#/
#/ Builds distributable packages for licensed.
#/ Packages are of the form licensed-$VERSION-$PLATFORM-x64.tar.gz and contain a `./licensed` executable
#/ Built packages are placed in the <root>/pkg directory.
#/
#/ OPTIONS:
#/   [PLATFORM]        (optional, default to all platforms) platform to build exe for
#/   [VERSION]         (optional, default to current git branch or SHA1) version of licensed to build exe at
#/

set -e

PLATFORM=""
if [ -n "$1" ]; then
  PLATFORM=":$1"
fi

bundle exec rake "package$PLATFORM"

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
licensed-3.2.3 script/package
licensed-3.2.2 script/package
licensed-3.2.1 script/package
licensed-3.2.0 script/package
licensed-3.1.0 script/package
licensed-3.0.1 script/package
licensed-3.0.0 script/package
licensed-2.15.2 script/package
licensed-2.15.1 script/package
licensed-2.15.0 script/package
licensed-2.14.4 script/package
licensed-2.14.3 script/package
licensed-2.14.2 script/package
licensed-2.14.1 script/package
licensed-2.14.0 script/package
licensed-2.13.0 script/package
licensed-2.12.2 script/package
licensed-2.12.1 script/package
licensed-2.12.0 script/package
licensed-2.11.1 script/package