Permalink
Browse files

build tools and other things

  • Loading branch information...
1 parent 2e16d32 commit e3307eb04837f7b3571d6ad68d481401e74930d8 Hsiaoming Yang committed Mar 16, 2013
Showing with 15 additions and 7 deletions.
  1. +1 −0 .gitignore
  2. +10 −0 .spmignore
  3. +4 −4 Gruntfile.js
  4. +0 −3 docs/api.md
  5. 0 index.html → docs/demo.html
View
@@ -3,3 +3,4 @@ dist
npm-debug.log
tmp
build
+dist
View
@@ -0,0 +1,10 @@
+node_modules
+dist
+npm-debug.log
+tmp
+build
+dist
+src
+icomoon
+codemirror
+docs
View
@@ -64,7 +64,7 @@ module.exports = function(grunt) {
'});'
].join('\n')
},
- filename: 'seajs/editor.js'
+ filename: 'cmd/editor.js'
},
window: {
filename: 'js/editor.js'
@@ -92,7 +92,7 @@ module.exports = function(grunt) {
grunt.file.write('build/' + this.data.filename, data);
});
- grunt.registerTask('utils', function() {
+ grunt.registerTask('copy', function() {
var dir = 'icomoon/fonts';
grunt.file.recurse(dir, function(fpath) {
var fname = path.relative(dir, fpath);
@@ -102,7 +102,7 @@ module.exports = function(grunt) {
data += grunt.file.read('src/paper.css');
data += grunt.file.read('src/editor.css');
grunt.file.write('build/css/editor.css', data);
- grunt.file.copy('index.html', 'build/index.html');
+ grunt.file.copy('docs/demo.html', 'build/demo.html');
});
grunt.loadNpmTasks('grunt-contrib-jshint');
@@ -114,5 +114,5 @@ module.exports = function(grunt) {
grunt.registerTask('server', ['livereload-start', 'connect', 'regarde']);
- grunt.registerTask('transport', ['concat', 'generate', 'utils']);
+ grunt.registerTask('transport', ['concat', 'generate', 'copy']);
};
View
@@ -1,3 +0,0 @@
-# API
-
-----
File renamed without changes.

0 comments on commit e3307eb

Please sign in to comment.