Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Implemented the 'setup-lib' helper task.

  • Loading branch information...
commit e89152be5c323d6a91d0e3d42f0b98ed5d65cc95 1 parent 777d1f6
Javier Cicchelli authored February 28, 2012

Showing 1 changed file with 9 additions and 0 deletions. Show diff stats Hide diff stats

  1. 9  Makefile
9  Makefile
@@ -160,6 +160,15 @@ git-init:
160 160
 	@git commit -m "Initial commit."
161 161
 	@git checkout -b development
162 162
 
  163
+setup-lib:
  164
+	@rm -drf .git
  165
+	@rm README.md LICENSE .gitignore
  166
+	@echo $(INDEX_JS) > index.js
  167
+	@echo $(PACKAGE) > package.json
  168
+	@echo $(GITIGNORE) | sed 's/ //g' > .gitignore
  169
+	@make module NAME=$(LIB_NAME)
  170
+	@make git-init
  171
+
163 172
 move-files-to-deployment:
164 173
 	@mkdir $(DEPLOYMENT_DIRECTORY)
165 174
 	@cp $(LIB_INDEX) $(DEPLOYMENT_DIRECTORY)

0 notes on commit e89152b

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