Skip to content

Commit 99df4c4

Browse files
committed
Build: Don't rely on global grunt when building the download builder page
1 parent f08c2e1 commit 99df4c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ grunt.initConfig({
2323
grunt.registerTask( "build-download", function() {
2424
function writeFiles() {
2525
var frontend = require( "download.jqueryui.com" ).frontend({
26-
host: "//download.jqueryui.com",
26+
host: "http://localhost:8080",
2727
env: "production"
2828
}),
2929
download = frontend.download,
@@ -73,7 +73,7 @@ grunt.registerTask( "build-download", function() {
7373
return done( error );
7474
}
7575

76-
exec( "grunt prepare --stack", {
76+
exec( "node_modules/.bin/grunt prepare --stack", {
7777
cwd: "node_modules/download.jqueryui.com"
7878
}, function( error, stdout, stderr ) {
7979
if ( error ) {

0 commit comments

Comments
 (0)