shelljs/shelljs

Support test on environment variable's value

開放

#1,230 建立於 2025年9月3日

 (2 則留言) (0 個反應) (0 位負責人)JavaScript (752 個分叉)batch import
featurehelp wanted

倉庫指標

星標
 (14,399 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

It will be very useful for test to support testing on environment variable's value like the following example (with shx as wrapper):

shx test "${NODE_ENV}" = "production"  && shx mkdir -p dist/data || shx mkdir -p tmp/data 

貢獻者指南