From f55da48f3ba2f460eba6afaf8e24fc8b6d2330d5 Mon Sep 17 00:00:00 2001 From: reflexdemon Date: Tue, 7 Jun 2016 07:38:20 -0400 Subject: [PATCH 1/2] Added git Ignore for eclipse project #935 --- addon/ng2/blueprints/ng2/files/gitignore | 51 ++++++++++++++++++++++++ 1 file changed, 51 insertions(+) mode change 100644 => 100755 addon/ng2/blueprints/ng2/files/gitignore diff --git a/addon/ng2/blueprints/ng2/files/gitignore b/addon/ng2/blueprints/ng2/files/gitignore old mode 100644 new mode 100755 index 3422917e0af7..a72accc5d0eb --- a/addon/ng2/blueprints/ng2/files/gitignore +++ b/addon/ng2/blueprints/ng2/files/gitignore @@ -27,3 +27,54 @@ testem.log #System Files .DS_Store Thumbs.db + +.metadata +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.settings/ +.loadpath +.recommenders + +# Eclipse Core +.project + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# PyDev specific (Python IDE for Eclipse) +*.pydevproject + +# CDT-specific (C/C++ Development Tooling) +.cproject + +# JDT-specific (Eclipse Java Development Tools) +.classpath + +# Java annotation processor (APT) +.factorypath + +# PDT-specific (PHP Development Tools) +.buildpath + +# sbteclipse plugin +.target + +# Tern plugin +.tern-project + +# TeXlipse plugin +.texlipse + +# STS (Spring Tool Suite) +.springBeans + +# Code Recommenders +.recommenders/ From 37189b44d3e6b57cebf9bedbb8c63875ed0b699d Mon Sep 17 00:00:00 2001 From: vprasanna Date: Tue, 7 Jun 2016 09:04:47 -0400 Subject: [PATCH 2/2] Part of enhancement for #935 added the README.md file --- addon/ng2/blueprints/ng2/files/README.md | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 addon/ng2/blueprints/ng2/files/README.md diff --git a/addon/ng2/blueprints/ng2/files/README.md b/addon/ng2/blueprints/ng2/files/README.md new file mode 100755 index 000000000000..b8c43d313795 --- /dev/null +++ b/addon/ng2/blueprints/ng2/files/README.md @@ -0,0 +1,30 @@ +# <%= jsComponentName %> + +This project is generated with [angular-cli](https://github.com/angular/angular-cli) version <%= version %> + +## Build + +Run `ng build` for building. The build artifacts will be stored in the `dist/` directory. + +## Development +Run `ng serve` for preview. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. + +If you wish to use the live-reload feature, +``` +ng serve --port 4201 --live-reload-port 49153 +``` +If you wish to read more about the environment configuration please refer, [Environments](https://github.com/angular/angular-cli#environments) + +## Running unit tests + +Running `ng test` will run the unit tests with karma. +[Click here](https://github.com/angular/angular-cli#running-unit-tests) for more details. + +## Running end-to-end tests + +Running `ng e2e` will run end to end tests via Protractor. Before running the tests make sure you are serving the app via `ng serve`. +[Click here](https://github.com/angular/angular-cli#running-end-to-end-tests) for more details. + +## Further help + +To get more help on the `angular-cli` use `ng --help` or go to [angular-cli](https://github.com/angular/angular-cli).