Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit bcf605e

Browse files
authored
Merge pull request #1 from patternfly/patternfly
V2 changes to bootstrap-treeview
2 parents f7a2a31 + 67f86db commit bcf605e

21 files changed

Lines changed: 10087 additions & 7037 deletions

.bowerrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
node_modules/
2-
public/bower_components/
3-
.idea
2+
bower_components
3+
.idea

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
language: node_js
22

33
node_js:
4-
- "0.11"
54
- "0.10"
5+
- "0.11"
6+
- "0.12"
7+
- "4"
8+
- "5"
9+
- "6"
610

711
before_script:
812
- npm install -g grunt-cli
913
- npm install
10-
- bower install
1114

12-
script: grunt test --verbose --force
15+
script: grunt test --verbose --force

Gruntfile.js

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
module.exports = function(grunt) {
22
grunt.initConfig({
33
pkg: grunt.file.readJSON('package.json'), // the package file to use
4-
4+
55
uglify: {
66
files: {
7-
expand: true,
8-
flatten: true,
7+
expand: true,
8+
flatten: true,
99
src: 'src/js/*.js',
1010
dest: 'dist',
1111
ext: '.min.js'
@@ -32,18 +32,17 @@ module.exports = function(grunt) {
3232
},
3333

3434
copy: {
35-
main: {
35+
main: {
3636
files: [
37-
// copy dist to tests
38-
// { expand: true, cwd: 'dist', src: '*', dest: 'tests/lib/' },
37+
// setup tests
3938
{ expand: true, cwd: 'src/css', src: '*', dest: 'tests/lib/' },
4039
{ expand: true, cwd: 'src/js', src: '*', dest: 'tests/lib/' },
41-
// copy latest libs to tests
42-
{ expand: true, cwd: 'public/bower_components/jquery', src: 'jquery.js', dest: 'tests/lib/' },
43-
{ expand: true, cwd: 'public/bower_components/bootstrap-datepicker/js', src: 'bootstrap-datepicker.js', dest: 'tests/lib/' },
44-
// copy src to example
40+
{ expand: true, cwd: 'node_modules/jquery/dist', src: 'jquery.js', dest: 'tests/lib/' },
41+
// setup public
4542
{ expand: true, cwd: 'src/css', src: '*', dest: 'public/css/' },
46-
{ expand: true, cwd: 'src/js', src: '*', dest: 'public/js/' }
43+
{ expand: true, cwd: 'src/js', src: '*', dest: 'public/js/' },
44+
{ expand: true, cwd: 'node_modules/bootstrap/dist/', src: '**/*', dest: 'public/libs/bootstrap/' },
45+
{ expand: true, cwd: 'node_modules/jquery/dist/', src: '*', dest: 'public/libs/jquery' }
4746
]
4847
}
4948
}
@@ -57,6 +56,6 @@ module.exports = function(grunt) {
5756
grunt.loadNpmTasks('grunt-contrib-copy');
5857

5958
// register one or more task lists (you should ALWAYS have a "default" task list)
60-
grunt.registerTask('default', ['uglify','cssmin', 'copy', 'qunit', 'watch']);
59+
grunt.registerTask('default', ['uglify', 'cssmin', 'copy', 'qunit', 'watch']);
6160
grunt.registerTask('test', 'qunit');
6261
};

0 commit comments

Comments
 (0)