0
我對JavaScript和gulp非常陌生,我需要使用從GitHub獲取的使用gulp構建特定版本的外部庫。構建gulp子項目
假如庫位於.\chart.js\
並且命令行構建命令看起來像gulp build --types=Line
,那麼從gulp構建它的方法是什麼?
項目結構:
main_project\
| chart.js\ - fetched from github
| | gulpfile.js - gulp builds library using this file
| | *other files from library*
| *main project files and folders*
| gulpfile.js - I want to build library from here while building my project
我知道如何從殼蓋了,但我想打造'從parrent項目gulpfile.js'。 – Pavlus
''gulpfile.js''在父文件夾內? – Ismail
Parrent項目有它自己的'gulpfile.js',我想從具有它自己的'gulpfile.js'的github庫中構建。有沒有正確的方法來做到這一點,而不需要直接從parrent項目的吞嚥任務調用shell命令來運行另一個吞嚥實例? – Pavlus