Skip to content

Commit

Permalink
update readme, launch test when building
Browse files Browse the repository at this point in the history
  • Loading branch information
lduboeuf committed Dec 19, 2016
1 parent 40a59f6 commit 46ef11a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ module.exports = function(grunt) {


grunt.registerTask('build', [
'test',
'clean:dist',
'copy:dist',
//'jshint',
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ It helps you to:

TTB can be used without any web servers.

##what is inside
##what's inside
- use tiny MVC library borrowed and turned into native js from ( https://github.com/c-smile/spapp )
- use tiny templating engine (https://github.com/olado/doT)
- use of `localStorage`
- use of nightwatch as test framework

##usage
- open index.html in your favorite browser
Expand All @@ -26,7 +27,7 @@ TTB can be used without any web servers.
grunt # will output app in dist/dev folder
grunt --rev=prod #will output in dist folder
```
###testings
###tests
need chrome installed for instance
```
grunt test
Expand Down
2 changes: 1 addition & 1 deletion deploy-ghpages.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
git add dist && git commit -m "update site"
git add dist && git commit -m "publish to gh-pages site"
#git subtree push --prefix dist origin gh-pages
git push origin `git subtree split --prefix dist master`:gh-pages --force

0 comments on commit 46ef11a

Please sign in to comment.