Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

jquery-validation doesn't get copied #65

Open
Toruk opened this issue Nov 30, 2016 · 4 comments
Open

jquery-validation doesn't get copied #65

Toruk opened this issue Nov 30, 2016 · 4 comments

Comments

@Toruk
Copy link

Toruk commented Nov 30, 2016

It seems like jquery-validation (and maybe some others?) doesn't get copied although all the others do.
This is my grunt task:

bower: {
            common: {
                dest: "wwwroot/",
                js_dest: "wwwroot/js",
                css_dest: "wwwroot/css",
                options: {
                    keepExpandedHierarchy: false
                }
            }
        }

Also, I don't why, the file jquery-validation/test/test.js gets copied to my js_dest, but it's the only one.

@curist
Copy link
Owner

curist commented Dec 1, 2016

I can't reproduce this issue using the same configuration. Everything work fine here.
Can you provide a minimal code example that reproduce this behavior?

@Toruk
Copy link
Author

Toruk commented Dec 1, 2016

Well I don't know what code example I could give you but I can say I'm running v0.20.0 of your plug-in, and here is my file structure for the jquery-validation folder (there are too many files so I only show the ones at the root):

C:\GIT\******\SRC\******\BOWER_COMPONENTS\JQUERY-VALIDATION
│   .bower.json
│   .gitattributes
│   .gitignore
│   .travis.yml
│   additional-methods.js
│   changelog.txt
│   CONTRIBUTING.md
│   Gruntfile.js
│   jquery.validate.js
│   package.json
│   README.md
│   todo
│   validation.jquery.json
│
├───demo
│   ├───captcha
│   │   ├───fonts
│   │   └───images
│   ├───css
│   ├───images
│   ├───login
│   │   └───images
│   ├───marketo
│   │   └───images
│   ├───milk
│   ├───multipart
│   │   └───js
│   ├───tabs
│   └───tinymce
│       └───themes
│           └───simple
│               ├───img
│               ├───langs
│               └───skins
│                   └───default
├───lib
├───localization
└───test
    ├───firebug
    ├───qunit
    └───selects

And the one for wwwroot/js:

C:\GIT\******\SRC\******\WWWROOT\JS
│   amcharts.js
│   angular-animate.js
│   angular-aria.js
│   angular-local-storage.js
│   angular-material.js
│   angular-route.js
│   angular-sanitize.js
│   angular-translate.js
│   angular.js
│   app.js
│   bootstrap-slider.js
│   bootstrap-touch-carousel.js
│   bootstrap.js
│   d3.js
│   d3pie.min.js
│   dev.js
│   functions.js
│   hammer.js
│   http-auth-interceptor.js
│   jquery.form.js
│   jquery.js
│   jquery.signalR.js
│   jquery.unobtrusive-ajax.js
│   jquery.validate.unobtrusive.js
│   jquery.validate.unobtrusive.min.js
│   marked.js
│   moment.js
│   pie.js
│   serial.js
│   simplebar.js
│   svgxuse.js
│   test.js
│   tether.js
│   ui-bootstrap-tpls.js
│
├───controllers
│       (...)
│
├───datas
│       (...)
│
└───services
│       (...)

I hope this can help you, I don't know what else I could give as you already have my grunt task...
Thank you !

@curist
Copy link
Owner

curist commented Dec 1, 2016

try this

git clone [email protected]:4e13a2c6c5bac868e07aa9cb9ca03dcf.git foo
cd foo
npm i
bower i jquery-validation
grunt

and check if jquery.validate.js is in wwwroot folder.

@Toruk
Copy link
Author

Toruk commented Dec 1, 2016

Yes, it does!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants