Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

refactor for new component(1)

  • Loading branch information...
commit a95413292ac5e9ef82ee218be2ac6672c6b6e3e3 1 parent 5acb720
@tj tj authored
Showing with 11 additions and 6 deletions.
  1. +2 −0  .gitignore
  2. +7 −4 Makefile
  3. +2 −2 test/index.html
View
2  .gitignore
@@ -1,3 +1,5 @@
node_modules
test/*.js
test/*.css
+build
+components
View
11 Makefile
@@ -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
4 test/index.html
@@ -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(){
Please sign in to comment.
Something went wrong with that request. Please try again.