shelljs/shelljs

Support test on environment variable's value

Open

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

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (14,062 star) (777 fork)batch import
featurehelp wanted

描述

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 

貢獻者指南