Skip to content

Commit 72f0d72

Browse files
authored
refactor(mobile): remove unused mobile code (#4143)
The mobile flag hasn't worked for a while. When/if it is added again, it's code would need to be done from scratch since the CLI has undergone a lot of changes since it last worked and was tested. Fix #4141
1 parent a2ea05e commit 72f0d72

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+10
-325
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ before_install:
5353
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
5454
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CHROME_BIN=chromium-browser; fi
5555
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo "--no-sandbox" > ~/.config/chromium-flags.conf; fi
56-
- if [[ "$TARGET" == "mobile" ]]; then export MOBILE_TEST=true; fi
5756
- npm install -g npm
5857
- npm config set spin false
5958
- npm config set progress false

README.md

Lines changed: 0 additions & 7 deletions

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"test": "npm-run-all -c test:packages test:cli test:deps",
1616
"e2e": "npm run test:e2e",
1717
"e2e:nightly": "node tests/run_e2e.js --nightly",
18-
"mobile_test": "mocha tests/e2e/e2e_workflow.spec.js",
1918
"test:e2e": "node tests/run_e2e.js",
2019
"test:cli": "node tests/runner",
2120
"test:deps": "node scripts/publish/validate_dependencies.js",
@@ -82,7 +81,6 @@
8281
"node-modules-path": "^1.0.0",
8382
"node-sass": "^4.1.1",
8483
"nopt": "^3.0.1",
85-
"offline-plugin": "^3.4.1",
8684
"opn": "4.0.1",
8785
"ora": "^0.2.0",
8886
"portfinder": "1.0.9",

packages/@ngtools/json-schema/tests/serializer/schema3.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@
6565
"prefix": {
6666
"type": "string"
6767
},
68-
"mobile": {
69-
"type": "boolean"
70-
},
7168
"styles": {
7269
"description": "Global styles to be included in the build.",
7370
"type": "array",

packages/@ngtools/json-schema/tests/serializer/value3.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"test": "test.ts",
1717
"tsconfig": "tsconfig.json",
1818
"prefix": "<%= prefix %>",
19-
"mobile": true,
2019
"styles": [
2120
"styles.<%= styleExt %>"
2221
],
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)