GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — tns-core-modules-widgets/build.android.sh at master · NativeScript/tns-core-modules-widgets
This repository was archived by the owner on Mar 21, 2019. It is now read-only.
Expand file tree/ Copy pathbuild.android.shMore file actions executable file ·37 lines (31 loc) · 846 Bytes / Copy pathbuild.android.shFile metadata and controlsexecutable file ·37 lines (31 loc) · 846 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 #!/bin/sh echo "Set exit on simple errors" set -e echo "Use dumb gradle terminal" export TERM=dumb echo "Clean dist" rm -rf dist mkdir dist mkdir dist/package mkdir dist/package/platforms echo "Build android" mkdir dist/package/platforms/android cd android ./gradlew --quiet assembleRelease cd .. cp android/widgets/build/outputs/aar/widgets-release.aar dist/package/platforms/android/widgets-release.aar echo "Copy NPM artefacts" cp LICENSE dist/package/LICENSE cp README.md dist/package/README.md cp package.json dist/package/package.json if [ "$1" ] then echo "Suffix package.json's version with tag: $1" sed -i.bak 's/\(\"version\"\:[[:space:]]*\"[^\"]*\)\"/\1-'$1'"/g' ./dist/package/package.json fi echo "NPM pack" cd dist/package PACKAGE="$(npm pack)" cd ../.. mv dist/package/$PACKAGE dist/$PACKAGE echo "Output: dist/$PACKAGE" |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |