Skip to content

Commit

Permalink
use serve for manual browser testing
Browse files Browse the repository at this point in the history
  • Loading branch information
techjacker committed Jul 27, 2013
1 parent 4877272 commit 2b732a6
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 31 deletions.
29 changes: 8 additions & 21 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ module.exports = function(grunt) {
tasksTest = ["connect", "saucelabs-mocha"],
tasksWatch = tasksBuild.concat(['jshint']),
browsers = [{
// browserName: 'internet explorer',
// platform: 'XP',
// version: '8'
// }, {
// browserName: 'internet explorer',
// platform: 'XP',
// version: '7'
// }, {
browserName: 'internet explorer',
platform: 'WIN8',
version: '10'
Expand Down Expand Up @@ -186,27 +194,6 @@ module.exports = function(grunt) {
});
});


// grunt.registerTask('readme', 'Concatenate readme docs', function() {

// var done = this.async();
// var exec = require('child_process').exec;

// exec('make readme', function(error, stdout, stderr) {

// error && console.error('make readme error: ' + error);
// grunt.task.run(["readme-concat"]);
// done();

// // exec('make clean-readme', function(error, stdout, stderr) {
// // error && console.error('make readme error: ' + error);
// // done();
// // });

// });

// });

///////////////////////////
// Loading dependencies //
///////////////////////////
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ BUILD_STANDALONE_MIN = $(BUILD_STANDALONE:.js=.min.js)
COMPONENTJS_CMD = @component build --out $(@D) --name $(basename $(@F))

######################################
# Relase
# Release
######################################
publish: clean build docs test-node lint

Expand All @@ -40,8 +40,8 @@ test-saucelabs: npm-install-dev components
@grunt test

test-browser: npm-install-dev components
@grunt connect:servermanualtest
@echo go to http://localhost:8080/test
@serve
@echo go to http://localhost:3000/test

npm-install-dev: package.json
@npm install
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ npm install mitsubishi

#### Browser

##### Component.js

```Shell
component install mitsubishi
```


## Examples
## Usage

#### mitsubishi.mixinInstanceProps(class, [classes])

Expand Down
4 changes: 1 addition & 3 deletions docs-tmpl/README_header.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ npm install <!-- @echo name -->

#### Browser

##### Component.js

```Shell
component install <!-- @echo name -->
```


## Examples
## Usage

#### <!-- @echo name -->.mixinInstanceProps(class, [classes])

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"component": "~0.17.0",
"jshint": "~2.1.4",
"uglify-js": "~2.3.6",
"grunt-contrib-clean": "~0.5.0"
"grunt-contrib-clean": "~0.5.0",
"serve": "~1.3.0"
}
}

0 comments on commit 2b732a6

Please sign in to comment.