From f29e72abb73d5d758c62bb73f069170ecf6329ea Mon Sep 17 00:00:00 2001 From: Shiti Date: Tue, 14 Jul 2015 13:38:53 +0530 Subject: [PATCH] preparing for release 0.8.1 --- README.md | 18 +------------ notes/0.8.1.markdown | 4 +++ yo-demo/conf/routes~ | 9 ------- yo-demo/ui/app/index.html~ | 49 ----------------------------------- yo-injection-demo/conf/routes | 22 +--------------- 5 files changed, 6 insertions(+), 96 deletions(-) create mode 100644 notes/0.8.1.markdown delete mode 100644 yo-demo/conf/routes~ delete mode 100644 yo-demo/ui/app/index.html~ diff --git a/README.md b/README.md index c86bbe4..bc7d8c2 100644 --- a/README.md +++ b/README.md @@ -132,17 +132,6 @@ GET /ui com.tuplejump.playYeoman.Yeoman.index -> /ui/ yeoman.Routes -``` - -If using, injected routes generator (0.8.1 onwards), - -``` - -GET /ui @com.tuplejump.playYeoman.Yeoman.index - --> /ui/ yeoman.Routes - - ``` Optionally, you can also redirect your root url, @@ -153,12 +142,8 @@ GET / com.tuplejump.playYeoman.Yeoman.redirectRoot(base="/ui/") ``` -If using, injected routes generator (0.8.1 onwards), -``` - -GET / @com.tuplejump.playYeoman.Yeoman.redirectRoot(base="/ui/") +If using, Play's injected routes generator, prefixing the route with `@` will work except for `yeoman.Routes`. It can be used as is. -``` 6) Start play/sbt in your project folder, @@ -288,7 +273,6 @@ For this purpose play-yeoman provides 2 settings that you can use in you play pr 2) yeoman.devDirs - This is a List of String that takes a list of locations where play-yeoman should look for files in development mode i.e. when run using sbt run. - Note: Starting from 0.7.1, it is possible to disable force option on execution of grunt tasks. This can be done by adding the following to the application build settings, ``` diff --git a/notes/0.8.1.markdown b/notes/0.8.1.markdown new file mode 100644 index 0000000..fc605f3 --- /dev/null +++ b/notes/0.8.1.markdown @@ -0,0 +1,4 @@ +New in this release + ++ Support for using Play's injected routes generator. ++ updated default value for devDirs to include 'ui'. (related to #78) diff --git a/yo-demo/conf/routes~ b/yo-demo/conf/routes~ deleted file mode 100644 index 20fd042..0000000 --- a/yo-demo/conf/routes~ +++ /dev/null @@ -1,9 +0,0 @@ -# Routes -# This file defines all application routes (Higher priority routes first) -# ~~~~ - -# Home page -GET / controllers.Application.index - -# Map static resources from the /public folder to the /assets URL path -GET /assets/*file controllers.Assets.at(path="/public", file) diff --git a/yo-demo/ui/app/index.html~ b/yo-demo/ui/app/index.html~ deleted file mode 100644 index 3f6fded..0000000 --- a/yo-demo/ui/app/index.html~ +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - -
Hello!
- -
- - - - - - - - - - - - - - - diff --git a/yo-injection-demo/conf/routes b/yo-injection-demo/conf/routes index b96ee03..61781e7 100644 --- a/yo-injection-demo/conf/routes +++ b/yo-injection-demo/conf/routes @@ -2,27 +2,7 @@ # This file defines all application routes (Higher priority routes first) # ~~~~ -## OLD HOME PAGE -#GET /oldhome @controllers.Application.index -# -#GET /api/somejson @controllers.Application.json(keyword: String) -# -# -## Home page -#GET / @controllers.YeomanController.redirectRoot(base="/ui/") -# -## Map static resources from the /public folder to the /assets URL path -#GET /assets/*file @controllers.Assets.at(path="/public", file) -# -#GET /ui/views/templ.html @controllers.Application.serveTemplate -# -#GET /ui @controllers.YeomanController.index -# -#-> /ui/ yeoman.Routes -# -#GET /tdemo @controllers.Application.templateDemo -# - +# OLD HOME PAGE GET /oldhome @controllers.Application.index GET /api/somejson @controllers.Application.json(keyword: String)