Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add licence, readme, makefile, and updated .gitignore

  • Loading branch information...
commit a4b7ecd0e82bc9e993e2bda140c251685e9d043a 1 parent ff4f159
@mmurphy mmurphy authored
Showing with 81 additions and 0 deletions.
  1. +5 −0 .gitignore
  2. +24 −0 LICENSE
  3. +16 −0 README.md
  4. +36 −0 makefile
View
5 .gitignore
@@ -8,3 +8,8 @@ test/log/
.settings/
node_modules/
.DS_Store
+test.png
+config/stg*
+config/hp*
+config/rack*
+config/local*
View
24 LICENSE
@@ -0,0 +1,24 @@
+Copyright (c) 2012 FeedHenry Ltd, All Rights Reserved
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+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.
+
+This software downloads additional open source software components upon install
+that are distributed under separate terms and conditions. Please see the license
+information provided in the individual software components for more information.
+
View
16 README.md
@@ -0,0 +1,16 @@
+# openstack-swift
+
+A node.js client library for interacting with Openstack Storage (Swift)
+
+_Copyright 2012, FeedHenry Ltd. Licensed under the
+MIT license, please see the LICENSE file. All rights reserved._
+
+## Installation
+ npm install openstack-swift
+
+## Example usage
+
+
+
+See the tests for more sample API usage.
+
View
36 makefile
@@ -0,0 +1,36 @@
+
+PACKAGE = openstack-swift
+
+# Get the Major/Release/Hotfix numbers from package.json.
+PKG_VER:=$(shell grep version package.json| sed s/\"//g| sed s/version://g| sed s/-BUILD-NUMBER//g| tr -d ' '| tr -d ',')
+MAJOR:=$(shell echo $(PKG_VER)| cut -d '.' -f1)
+RELEASE:=$(shell echo $(PKG_VER)| cut -d '.' -f2)
+HOTFIX:=$(shell echo $(PKG_VER)| cut -d '.' -f3)
+
+VERSION = $(MAJOR).$(RELEASE).$(HOTFIX)
+DIST_DIR = ./dist
+OUTPUT_DIR = ./output
+MODULES = ./node_modules
+COV_DIR = ./lib-cov
+RELEASE_FILE = $(PACKAGE)-$(VERSION).tar.gz
+RELEASE_DIR = $(PACKAGE)-$(VERSION)
+
+all: clean npm_deps
+
+test:
+ env NODE_PATH=`pwd`/lib expresso
+
+dist: npm_deps
+ rm -rf $(DIST_DIR) $(OUTPUT_DIR)
+ mkdir -p $(DIST_DIR) $(OUTPUT_DIR)/$(RELEASE_DIR)
+ cp -r ./lib $(OUTPUT_DIR)/$(RELEASE_DIR)
+ cp ./package.json $(OUTPUT_DIR)/$(RELEASE_DIR)
+ tar -czf $(DIST_DIR)/$(RELEASE_FILE) -C $(OUTPUT_DIR) $(RELEASE_DIR)
+
+npm_deps:
+ npm install .
+
+clean:
+ rm -rf $(MODULES) $(COV_DIR) $(OUTPUT_DIR) $(DIST_DIR)
+
+.PHONY: test dist clean npm_deps
Please sign in to comment.
Something went wrong with that request. Please try again.