chiquitinxx / grooscript-plugins

Grooscript plugins - Gradle and Grails 3
12 stars 1 forks source link

Build fails when creating grooscript-grails.js #7

Closed tepsl closed 8 years ago

tepsl commented 8 years ago

In build.gradle:

    new File('grails-app/assets/javascripts/grooscript-grails.js').text = text

But the just cloned repository doesn't have grails-app/assets/javascripts directory, so it fails. My solution is adding next line before it.

    new File('grails-app/assets/javascripts/').mkdirs()
chiquitinxx commented 8 years ago

Please tell me if you wanna make a pull request or prefer I commit that changes. Thank you.

2015-11-29 8:01 GMT+01:00 tepsl notifications@github.com:

In build.gradle:

new File('grails-app/assets/javascripts/grooscript-grails.js').text = text

But the just cloned repository doesn't have grails-app/assets/javascripts directory, so it fails. My solution is adding next line before it.

new File('grails-app/assets/javascripts/').mkdirs()

— Reply to this email directly or view it on GitHub https://github.com/chiquitinxx/grooscript-grails3-plugin/issues/7.

tepsl commented 8 years ago

I want you to commit that.