Add build option for gulpjs projects

This commit is contained in:
Henrik Lissner 2016-08-16 09:01:44 +02:00
parent f886e273d7
commit dff0d2eb70

View file

@ -159,7 +159,10 @@
(cdr-safe (assq 'dependencies (gethash project npm-conf))))))
(assq 'react deps))))
(def-project-type! gulpjs "gulp" :match "/gulpfile.js$")
(def-project-type! gulpjs "gulp"
:modes (nodejs-project-mode)
:files ("gulpfile.js")
:build ("gulp %s" "gulpfile.js"))
(provide 'module-js)
;;; module-js.el ends here