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-2.11.0 script/package
licensed-2.10.0 script/package
licensed-2.9.2 script/package
licensed-2.9.1 script/package
licensed-2.9.0 script/package
licensed-2.8.0 script/package
licensed-2.7.0 script/package
licensed-2.6.2 script/package
licensed-2.6.1 script/package
licensed-2.6.0 script/package
licensed-2.5.0 script/package
licensed-2.4.0 script/package
licensed-2.3.2 script/package
licensed-2.3.1 script/package
licensed-2.3.0 script/package
licensed-2.2.0 script/package
licensed-2.1.0 script/package
licensed-2.0.1 script/package
licensed-2.0.0 script/package
licensed-1.5.2 script/package