Files
NativeScript/build/pack-dist.sh
Svetoslav 25046c7f94 chore: remove grunt and update build scripts (#7838)
* chore: prepare and pack scripts

* chore: update @types/node dep

* chore: remove prepare-dist command from pack-dist
2019-09-18 01:05:39 +03:00

19 lines
266 B
Bash
Executable File

#!/bin/bash
set -x
set -e
DIST=dist;
ROOT_DIR=$(cd `dirname $0` && pwd)/..;
cd "$ROOT_DIR"
(
cd "$DIST/tns-platform-declarations"
TGZ="$(npm pack)"
mv "$TGZ" "../$TGZ"
)
(
cd "$DIST/tns-core-modules"
TGZ="$(npm pack)"
mv "$TGZ" "../$TGZ"
)