簡體   English   中英

與另一個grunt任務共享來自自定義grunt任務的數據

[英]share data from a custom grunt task with another grunt task

我對使用grunt比較陌生。 我創建了一個自定義grunt任務,查詢我的數據庫以獲取一個值,我想將該值添加到grunt-contrib-copy任務的路徑中,如下所示:

{cwd: 'src/public/modules/' + variablefromCustomTask}

我一直無法弄清這一點,也無法在線找到任何有用的資源來提供幫助。 有任何想法/資源鏈接可能會有所幫助嗎?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM