diff --git a/.gitignore b/.gitignore index 1bd7226..e05c629 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ -node_modules *.swp +node_modules +/build +/component.json diff --git a/Makefile b/Makefile index 09b69fe..55fe30a 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,13 @@ +build: boosh components + boosh: - node make/build.js \ No newline at end of file + 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