diff --git a/index.js b/index.js index 045668e..4f5f681 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,7 @@ const PLUGIN_NAME = 'gulp-phug'; const compile = (file, callback) => { let args = [ - __dirname + '/support/vendor/bin/phug', + __dirname + '/support/vendor/phug/phug/phug', 'compileFile', file.path, ]; let command = spawn( 'php', args); diff --git a/package.json b/package.json index f28c1d2..6e50910 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "gulp-phug", - "version": "1.3.2", + "version": "1.3.4", "description": "Pug to PHP template compiler using phug", "main": "index.js", - "bin": "./support/vendor/bin/phug", + "bin": "./support/vendor/phug/phug/phug", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, diff --git a/support/test/test.pug b/support/test/test.pug deleted file mode 100644 index 58fa4c1..0000000 --- a/support/test/test.pug +++ /dev/null @@ -1,7 +0,0 @@ -- - $test = 'a200'; - -a(class!=$test) SOme -b then -h1 Testing -h2= $test