Permalink
Browse files

Add support for Component.js.

  • Loading branch information...
1 parent 7c781b0 commit f63f8b2931be368b0b008b679938d618c017a62b @djanowski djanowski committed Jan 25, 2013
Showing with 15 additions and 2 deletions.
  1. +3 −1 .gitignore
  2. +12 −1 Makefile
View
@@ -1,2 +1,4 @@
-node_modules
*.swp
+node_modules
+/build
+/component.json
View
@@ -1,2 +1,13 @@
+build: boosh components
+
boosh:
- node make/build.js
+ node make/build.js
+
+components:
+ @echo '{' > component.json
+ @egrep '(name|description|version|keywords)' package.json >> component.json
+ @echo ' , "main": "bean.js"' >> component.json
+ @echo ' , "scripts": ["bean.js"]' >> component.json
+ @echo ' , "repo": "https://github.com/fat/bean"' >> component.json
+ @echo '}' >> component.json
+ component build

0 comments on commit f63f8b2

Please sign in to comment.