Permalink
Browse files

Rename Modfile to Modfile.js in example directory.

  • Loading branch information...
yuanyan committed Jan 1, 2014
1 parent fd5c057 commit bc39dbb6b27a474b0f1502d5a499c0059146b62e
Showing with 35 additions and 152 deletions.
  1. 0 example/buildmobile/{Modfile → Modfile.js}
  2. 0 example/buildnormal/{Modfile → Modfile.js}
  3. 0 example/buildrequirejs/{Modfile → Modfile.js}
  4. 0 example/buildseajs/{Modfile → Modfile.js}
  5. +1 −1 example/catcss/{Modfile → Modfile.js}
  6. +0 −2 example/catcss/foobar.css
  7. +1 −1 example/catjs/{Modfile → Modfile.js}
  8. +0 −2 example/catjs/foobar.js
  9. 0 example/compileamd/{Modfile → Modfile.js}
  10. 0 example/compilemultipage/{Modfile → Modfile.js}
  11. +2 −2 example/configasync/Modfile.js
  12. +2 −2 example/configgroup/{Modfile → Modfile.js}
  13. 0 example/configoptions/{Modfile → Modfile.js}
  14. +1 −1 example/configtemplate/{Modfile → Modfile.js}
  15. +0 −3 example/configtemplate/build/abcde.js
  16. +12 −12 example/cp/{Modfile → Modfile.js}
  17. +1 −1 example/datauri/Modfile
  18. +0 −7 example/datauri/test.datauri.css
  19. 0 example/deployhttp/{Modfile → Modfile.js}
  20. 0 example/deployssh/{Modfile → Modfile.js}
  21. +2 −2 example/download/{Modfile → Modfile.js}
  22. +1 −1 example/mincss/{Modfile → Modfile.js}
  23. +0 −1 example/mincss/test.min.css
  24. 0 example/minhtml/{Modfile → Modfile.js}
  25. 0 example/minjs/{Modfile → Modfile.js}
  26. +1 −1 example/mkdir/{Modfile → Modfile.js}
  27. +1 −1 example/plugingrunttask/{Modfile → Modfile.js}
  28. +0 −1 example/plugingrunttask/foobar.js
  29. 0 example/plugininlinetask/{Modfile → Modfile.js}
  30. 0 example/pluginlocaltask/{Modfile → Modfile.js}
  31. +1 −1 example/pluginnpmtask/{Modfile → Modfile.js}
  32. +0 −50 example/pluginnpmtask/test.css
  33. +3 −3 example/replace/Modfile.js
  34. +0 −3 example/replace/foo.replaced.js
  35. 0 example/serverconsole/{Modfile → Modfile.js}
  36. 0 example/serverdeploy/{Modfile → Modfile.js}
  37. 0 example/serverproxy/{Modfile → Modfile.js}
  38. +2 −2 example/stripcode/{Modfile → Modfile.js}
  39. +0 −16 example/stripcode/after.js
  40. 0 example/stripcode/{before.js → foo.js}
  41. +2 −2 example/stripeol/{Modfile → Modfile.js}
  42. +0 −16 example/stripeol/after.js
  43. 0 example/stripeol/{before.js → foo.js}
  44. +2 −2 example/striptab/{Modfile → Modfile.js}
  45. +0 −16 example/striptab/after.js
  46. 0 example/striptab/{before.js → foo.js}
  47. 0 example/watchstyl/{Modfile → Modfile.js}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -3,7 +3,7 @@ module.exports = {
tasks: {
cat: {
src: ["foo.css","bar.css"],
- dest: "foobar.css"
+ dest: "dist/foobar.css"
}
}
};
@@ -1,2 +0,0 @@
-.foo{background-image: url("./img/foo.png")}
-.bar{background-image: url("./img/bar.png")}
@@ -3,7 +3,7 @@ module.exports = {
tasks: {
cat: {
src: ["foo.js", "bar.js"],
- dest: "foobar.js"
+ dest: "dist/foobar.js"
}
}
};
View
@@ -1,2 +0,0 @@
-var foo='';
-var bar= '';
File renamed without changes.
@@ -11,8 +11,8 @@ module.exports = function(options, done){
// "bar" target options may go here, overriding task-level options.
},
group: [
- {src: ['../catjs/foo.js', '../catjs/bar.js'], dest: './foobar.js'},
- {src: ['../catcss/foo.css', '../catcss/bar.css'], dest: './foobar.css'},
+ {src: ['../catjs/foo.js', '../catjs/bar.js'], dest: './dist/foobar.js'},
+ {src: ['../catcss/foo.css', '../catcss/bar.css'], dest: './dist/foobar.css'},
]
}
}
@@ -9,8 +9,8 @@ module.exports = {
// "bar" target options may go here, overriding task-level options.
},
group: [
- {src: ['../catjs/foo.js', '../catjs/bar.js'], dest: './foobar.js'},
- {src: ['../catcss/foo.css', '../catcss/bar.css'], dest: './foobar.css'},
+ {src: ['../catjs/foo.js', '../catjs/bar.js'], dest: './dist/foobar.js'},
+ {src: ['../catcss/foo.css', '../catcss/bar.css'], dest: './dist/foobar.css'},
]
}
}
File renamed without changes.
@@ -3,7 +3,7 @@ module.exports = {
cat: {
test: {
src: ['{{ qux }}', 'baz/*.js'], // [['foo/*.js', 'bar/*.js'], 'baz/*.js']
- dest: 'build/{{ baz }}.js', // 'build/abcde.js'
+ dest: 'dist/{{ baz }}.js', // 'build/abcde.js'
}
},
// Arbitrary properties used in task configuration templates.
@@ -1,3 +0,0 @@
-var a = 1;
-var b = 2;
-var c = 3;
@@ -4,34 +4,34 @@ module.exports = {
cp: {
file: {
src: ["../catjs/*.js", "../catcss/*.css"],
- dest: "./a",
+ dest: "./dist/a",
filter: /foobar/
},
dir: {
- src: ["./a/"],
- dest: "./b"
+ src: ["./dist/a/"],
+ dest: "./dist/b"
},
subdir: {
src: ["../catjs/foo.js"],
- dest: "./b/bb",
+ dest: "./dist/b/bb",
backup: false
},
fileAndDir: {
- src: ["./b"],
- dest: "./c"
+ src: ["./dist/b"],
+ dest: "./dist/c"
},
fileAndDirFlatten: {
- src: ["./b"],
+ src: ["./dist/b"],
flatten: true,
- dest: "./d"
+ dest: "./dist/d"
},
flattenSrc: {
- src: ["./b/**/*.js"],
- dest: "./e"
+ src: ["./dist/b/**/*.js"],
+ dest: "./dist/e"
},
fileCopyRoot: {
- src: "./",
- dest: "./f"
+ src: "./dist",
+ dest: "./dist/f"
}
}
},
View
@@ -3,7 +3,7 @@ module.exports = {
tasks: {
datauri: {
src: "test.css",
- dest: "test.datauri.css",
+ dest: "dist/test.datauri.css",
igts: true
}
}

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
File renamed without changes.
File renamed without changes.
@@ -7,11 +7,11 @@ module.exports = {
download: {
jquery: {
src: ["http://code.jquery.com/jquery-1.8.2.js"],
- dest: "./js"
+ dest: "./dist/js"
},
github: {
src: "jquery/jquery",
- dest: "./lib/jquery"
+ dest: "./dist/lib/jquery"
}
}
},
@@ -3,7 +3,7 @@ module.exports = {
tasks: {
min: {
src: "test.css",
- dest: "test.min.css"
+ dest: "dist/test.min.css"
}
}
};

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
File renamed without changes.
File renamed without changes.
@@ -2,7 +2,7 @@
module.exports = {
tasks: {
mkdir: {
- dest: "test"
+ dest: "dist"
}
}
};
@@ -12,7 +12,7 @@ module.exports = {
},
dist: {
src: ['foo.js', 'bar.js'],
- dest: 'foobar.js',
+ dest: 'dist/foobar.js',
},
}
}
@@ -1 +0,0 @@
-var foo='';/* separator */var bar= '';
@@ -8,7 +8,7 @@ module.exports = {
tasks: {
stylus: {
src: "test.styl",
- dest: "test.css"
+ dest: "dist/test.css"
}
}
};
@@ -1,50 +0,0 @@
-body {
- padding: 50px;
-}
-h1,
-h2,
-h3 {
- font-family: helvetica, arial;
-}
-table {
- border-collapse: collapse;
-}
-table td {
- padding: 3px 10px;
- border-left: 1px solid #eee;
-}
-table td:first-child {
- font: 12px helvetica, arial;
-}
-table tr:nth-child(4n) {
- border-bottom: 1px solid #eee;
-}
-table tr:nth-child(4n) td {
- padding-bottom: 15px;
-}
-table tr:nth-child(4n+1) td {
- padding-top: 15px;
-}
-#color-images {
- width: 400;
- height: 300;
- background: url("http://f.cl.ly/items/0W1R2J2L3g2C2L3p1l1e/Image%202011.08.26%2011:42:20%20AM.png") center;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- padding-top: 130px;
- text-align: center;
-}
-#color-images div {
- display: inline-block;
- width: 50px;
- height: 50px;
- margin: 0 15px;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- padding-top: 18px;
- border: 1px solid #fff;
- font: 9px Lucida Grande;
- color: #666;
-}
@@ -3,17 +3,17 @@ module.exports = {
replace: {
string: {
src: "foo.js",
- dest: "foo.replaced.js",
+ dest: "dist/foo.js",
search: "TIMESTAMP",
replace: +new Date
},
regexp: {
- src: "foo.replaced.js",
+ src: "dist/foo.js",
search: /DEBUG/g,
replace: true
},
func: {
- src: "foo.replaced.js",
+ src: "dist/foo.js",
search: /v(\d+)/,
replace: function(match, v){
var v = Number(v);
@@ -1,3 +0,0 @@
-var ts = 1388510983879;
-var debug = true;
-var ver = "v2";
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -2,8 +2,8 @@
module.exports = {
tasks: {
strip: {
- src: "before.js",
- dest: "after.js",
+ src: "foo.js",
+ dest: "dist/foo.js",
code: ['alert']
}
}
View
@@ -1,16 +0,0 @@
-define(function (require) {
-
- if(true) {
- // @keep
- alert(123);
- }
- true && undefined;
- /*
- @ignore
- */
- true, alert( 123);
-
- console.log(123);
-
- return {"作者":"元彦","version": VERSION}, undefined;
-});
File renamed without changes.
@@ -2,8 +2,8 @@
module.exports = {
tasks: {
strip: {
- src: "before.js",
- dest: "after.js",
+ src: "foo.js",
+ dest: "dist/foo.js",
eol: 'lf'
}
}
View
@@ -1,16 +0,0 @@
-define(function (require) {
-
- if(true) {
- // @keep
- alert(123);
- }
- true && alert( 123);
- /*
- @ignore
- */
- true, alert( 123);
-
- console.log(123);
-
- return {"作者":"元彦","version": VERSION}, alert(2);
-});
File renamed without changes.
@@ -2,8 +2,8 @@
module.exports = {
tasks: {
strip: {
- src: "before.js",
- dest: "after.js",
+ src: "foo.js",
+ dest: "dist/foo.js",
eol: 'lf',
tab: ' '
}
View
@@ -1,16 +0,0 @@
-define(function (require) {
-
- if(true) {
- // @keep
- alert(123);
- }
- true && alert( 123);
- /*
- @ignore
- */
- true, alert( 123);
-
- console.log(123);
-
- return {"作者":"元彦","version": VERSION}, alert(2);
-});
File renamed without changes.
File renamed without changes.

0 comments on commit bc39dbb

Please sign in to comment.