Skip to content

Commit

Permalink
[UPDATE] add build envs. Makefile. remove preamble. dev deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed May 24, 2015
1 parent 3412fb6 commit 132739f
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 38 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
@@ -1,6 +1,12 @@
language: node_js
node_js:
- '0.12'
- '0.11'
- '0.10'
- '0.8'
- 'iojs'
before_install:
- npm update -g npm
after_script:
- npm run coveralls

4 changes: 2 additions & 2 deletions LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014 Athan Reines.
Copyright (c) 2014-2015 Athan Reines.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
13 changes: 9 additions & 4 deletions Makefile
Expand Up @@ -5,6 +5,14 @@
# Set the node.js environment to test:
NODE_ENV ?= test

# Kernel name:
KERNEL ?= $(shell uname -s)

ifeq ($(KERNEL), Darwin)
OPEN ?= open
else
OPEN ?= xdg-open
endif

# NOTES #

Expand Down Expand Up @@ -98,8 +106,7 @@ test-istanbul-mocha: node_modules
view-cov: view-istanbul-report

view-istanbul-report:
open $(ISTANBUL_HTML_REPORT_PATH)

$(OPEN) $(ISTANBUL_HTML_REPORT_PATH)


# LINT #
Expand All @@ -114,7 +121,6 @@ lint-jshint: node_modules
./



# NODE #

# Installing node_modules:
Expand All @@ -132,7 +138,6 @@ clean-node:


# CLEAN #

.PHONY: clean

clean:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -92,7 +92,7 @@ $ make view-cov

## Copyright

Copyright © 2014. Athan Reines.
Copyright © 2014-2015. Athan Reines.



Expand Down
28 changes: 0 additions & 28 deletions lib/index.js
@@ -1,31 +1,3 @@
/**
*
* VALIDATE: object
*
*
* DESCRIPTION:
* - Validates if a value is a JavaScript object.
*
*
* NOTES:
* [1]
*
*
* TODO:
* [1]
*
*
* LICENSE:
* MIT
*
* Copyright (c) 2014. Athan Reines.
*
*
* AUTHOR:
* Athan Reines. kgryte@gmail.com. 2014.
*
*/

'use strict';

// MODULES //
Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -41,11 +41,11 @@
"validate.io-array": "^1.0.1"
},
"devDependencies": {
"chai": "1.x.x",
"chai": "2.x.x",
"coveralls": "^2.11.1",
"istanbul": "^0.3.0",
"mocha": "1.x.x",
"jshint": "^2.5.10",
"mocha": "2.x.x",
"jshint": "2.x.x",
"jshint-stylish": "^1.0.0"
},
"license": "MIT"
Expand Down

0 comments on commit 132739f

Please sign in to comment.