Permalink
Browse files

build edits

  • Loading branch information...
ossreleasefeed
ossreleasefeed committed Sep 1, 2011
1 parent 2641520 commit d7fd44f0d6a85950ab2e4fa5e3c5cdd7f852db16
Showing with 4 additions and 4 deletions.
  1. +4 −4 build/build.gradle
View
@@ -5,7 +5,7 @@ def outputDir = 'target'
def jshintConfig = 'jshint.json'
def jshintOutput = outputDir + '/jshint.xml'
def testDir = 'test'
-def minifiedFilePath = "../${outputDir}/stacktrace-min.js"
+def minifiedFilePath = "../${outputDir}/jquery.simpebox-min.js"
repositories {
mavenRepo urls: 'http://repository.springsource.com/maven/bundles/release'
@@ -40,7 +40,7 @@ task minify << {
jscomp(compilationLevel: 'simple', warning: 'quiet', debug: 'false', output: minifiedFilePath) {
sources(dir: srcDir) {
- file(name: 'stacktrace.js'){}
+ file(name: 'js/jquery.simplebox.js'){}
}
}
}
@@ -53,8 +53,8 @@ task zip << {
}
task jshint(dependsOn: 'init') << {
- description = 'runs jshint on stacktrace JS file'
- def command = "jshint ${new File('stacktrace.js').canonicalPath} --config ${jshintConfig} --jslint-reporter"
+ description = 'runs jshint on SimpleBox JS file'
+ def command = "jshint ${new File('js/jquery.simplebox.js').canonicalPath} --config ${jshintConfig} --jslint-reporter"
println command
new File(jshintOutput).write(command.execute().text)
}

0 comments on commit d7fd44f

Please sign in to comment.