You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

gulpfile.js 568 B

10 years ago
​
​
​
​
10 years ago
​
​
​
​
​
​
​
​
​
1234567891011121314151617
  1. var gulp = require('gulp'),
  2. uglify = require('gulp-uglify');
  3. var concat = require('gulp-concat');
  4. gulp.task('minify', function () {
  5. gulp.src(['../jquery-1.3.2.js','angular.js', 'angular-route.js', 'angular-sanitize.min.js'])
  6. .pipe(uglify())
  7. .pipe(concat('angular.all.min.js'))
  8. .pipe(gulp.dest('build'))
  9. });
  10. gulp.task("default", function(){
  11. gulp.src(['app.js','others/factory.js','others/filter.js', 'controllers/*.js', 'directives/*.js', 'others/routes.js'])
  12. .pipe(uglify())
  13. .pipe(concat('app.min.js'))
  14. .pipe(gulp.dest('build'))
  15. });

软件技术创新是当今国家整体创新能力的重要基础和发展引擎。近年来,大众参与的软件创新与创业活动已经成为网络时代软件开发和应用的新形态,正在快速改变着全球软件创新模式和软件产业格局。 ...