Skip to content

Commit

Permalink
chore: remove grunt and clean-up (#7845)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Alexander Vakrilov committed Oct 3, 2019
1 parent beffc57 commit 82f2ccb
Show file tree
Hide file tree
Showing 15 changed files with 93 additions and 629 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Expand Up @@ -46,7 +46,6 @@ tsconfig.tns.json
*.map
*.tgz
.baseDir.ts
.sublime-grunt.cache
tscommand*.tmp.txt
.tscache

Expand All @@ -55,7 +54,6 @@ tscommand*.tmp.txt
# https://github.com/NativeScript/nativescript-dev-webpack/issues/932
!tns-core-modules/xml/xml.js
!tests/hooks/**/*.*
!gruntfile.js
!js-libs/**/*.*
!css/**/*.*
!css-value/**/*.*
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -124,7 +124,7 @@ If the commit reverts a previous commit, it should begin with `revert: `, follow
### Type
Must be one of the following:

* **build**: Changes that affect the build system or external dependencies (example scopes: npm, grunt)
* **build**: Changes that affect the build system or external dependencies (example scopes: npm)
* **ci**: Changes to our CI configuration files and scripts (example scopes: Travis, Jenkins)
* **docs**: Documentation only changes
* **feat**: A new feature
Expand Down
11 changes: 0 additions & 11 deletions build-docs.sh
Expand Up @@ -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"
Expand All @@ -62,6 +52,5 @@ mkdir -p "$TARGET_DIR"

if [ "${BASH_SOURCE[0]}" == "$0" ] ; then
extract_snippets
extract_cookbook
extract_apiref
fi
13 changes: 0 additions & 13 deletions expect.exp

This file was deleted.

0 comments on commit 82f2ccb

Please sign in to comment.