mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
chore: remove grunt and clean-up (#7845)
* chore: remove grunt files and deps * chore: npm scripts cleanup * chore: more deps clean-up * chore: tsconfig clean-up * chore: remove unneed file * chore: move tsinfig.unit-tests * chore: add dist/ exclude
This commit is contained in:

committed by
GitHub

parent
beffc5736a
commit
82f2ccbdfb
@ -36,16 +36,6 @@ extract_snippets() {
|
||||
archive_dist_dir "snippets"
|
||||
}
|
||||
|
||||
extract_cookbook() {
|
||||
COOKBOOK_DIR="$DIST_DIR/cookbook"
|
||||
rm -rf "$COOKBOOK_DIR"
|
||||
|
||||
npm_install
|
||||
grunt articles
|
||||
mv "$DIST_DIR/articles" "$COOKBOOK_DIR"
|
||||
archive_dist_dir "cookbook"
|
||||
}
|
||||
|
||||
extract_apiref() {
|
||||
APIREF_DIR="$DIST_DIR/api-reference"
|
||||
rm -rf "$APIREF_DIR"
|
||||
@ -62,6 +52,5 @@ mkdir -p "$TARGET_DIR"
|
||||
|
||||
if [ "${BASH_SOURCE[0]}" == "$0" ] ; then
|
||||
extract_snippets
|
||||
extract_cookbook
|
||||
extract_apiref
|
||||
fi
|
||||
|
Reference in New Issue
Block a user