diff --git a/Gruntfile.js b/Gruntfile.js index 1512428..722b6b4 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -171,6 +171,7 @@ module.exports = function(grunt) { grunt.registerTask('build', [ + 'test', 'clean:dist', 'copy:dist', //'jshint', diff --git a/README.md b/README.md index 75a0f6e..a214055 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 diff --git a/deploy-ghpages.sh b/deploy-ghpages.sh index d83fdf5..c32b60f 100755 --- a/deploy-ghpages.sh +++ b/deploy-ghpages.sh @@ -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