Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

init

  • Loading branch information...
commit 4e930cc29b167cf635f8d97fa88479da93b1fe92 1 parent 2015a66
@aleafs aleafs authored
Showing with 47 additions and 0 deletions.
  1. +5 −0 .travis.yml
  2. +6 −0 Makefile
  3. +14 −0 index.js
  4. +22 −0 package.json
View
5 .travis.yml
@@ -0,0 +1,5 @@
+language: node_js
+node_js:
+ - 0.6
+
+script: make test
View
6 Makefile
@@ -0,0 +1,6 @@
+
+test:
+ @npm install
+ @./node_modules/mocha/bin/mocha --reporter spec --timeout 2000 test/*.js
+
+.PHONY: test
View
14 index.js
@@ -0,0 +1,14 @@
+/* vim: set expandtab tabstop=2 shiftwidth=2 foldmethod=marker: */
+
+exports.init = function (options) {
+
+ /**
+ * @配置参数
+ */
+ var _options = {
+ };
+
+ var _me = {};
+
+ return _me;
+};
View
22 package.json
@@ -0,0 +1,22 @@
+{
+ "name": "iservice",
+ "version": "0.0.1",
+ "author": "Aleafs Zhang (zhangxc83@gmail.com)",
+ "contributors": [
+ ],
+ "homepage": "git@github.com:aleafs/iservice.git",
+ "description": "A high speed file splitor on Node.js",
+ "keywords": [ "zookeeper", "config server", "service" ],
+ "dependencies": {},
+ "engines": {
+ "node": ">=0.6.9"
+ },
+ "devDependencies": {
+ "should" : ">=0.4.2",
+ "mocha" : ">=0.9.0"
+ },
+ "main" : "./index.js",
+ "scripts": {
+ "test": "make test"
+ }
+}

0 comments on commit 4e930cc

Please sign in to comment.
Something went wrong with that request. Please try again.