({ scope, group, standalone })
| 125 | } |
| 126 | |
| 127 | function generateBuildScript({ scope, group, standalone }) { |
| 128 | const standaloneSection = ` |
| 129 | lerna run build --parallel --scope ${standalone} |
| 130 | `; |
| 131 | |
| 132 | const script = ` |
| 133 | #!/usr/bin/env sh |
| 134 | |
| 135 | ${standalone ? standaloneSection : ""} |
| 136 | |
| 137 | lerna run build --parallel --scope ${scope} |
| 138 | `; |
| 139 | writeScript(`./scripts/build-${group}.sh`, script); |
| 140 | } |
| 141 | |
| 142 | function generateScript({ |
| 143 | prefix, |
no test coverage detected