Permalink
Browse files

refactor for new component(1)

  • Loading branch information...
1 parent 5acb720 commit a95413292ac5e9ef82ee218be2ac6672c6b6e3e3 @tj tj committed Aug 12, 2012
Showing with 11 additions and 6 deletions.
  1. +2 −0 .gitignore
  2. +7 −4 Makefile
  3. +2 −2 test/index.html
View
@@ -1,3 +1,5 @@
node_modules
test/*.js
test/*.css
+build
+components
View
@@ -1,8 +1,11 @@
-test/out.js: index.js
- component build package.json test/out
+build: index.js components
+ @component build
+
+components:
+ @component install
clean:
- rm -f test/out.{js,css}
+ rm -fr build components
-.PHONY: clean
+.PHONY: clean
View
@@ -3,7 +3,7 @@
<head>
<title>Progress</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <link rel="stylesheet" href="out.css" />
+ <link rel="stylesheet" href="../build/build.css" />
<style>
body {
padding: 100px;
@@ -14,7 +14,7 @@
</style>
</head>
<body>
- <script src="out.js"></script>
+ <script src="../build/build.js"></script>
<script>
(function(){

0 comments on commit a954132

Please sign in to comment.