Skip to content

Commit b4f8010

Browse files
authored
chore (srpm macros): clarify when to use %set_javascript_build_flags (#334)
* chore (srpm macros): clarify when to use %set_javascript_build_flags * clarify %set_javascript_build_flags more
1 parent 8aa32cb commit b4f8010

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/docs/terra/srpm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ YARN_OPTS="${YARN_OPTS:-%{yarn_config_opts} }" ; export YARN_OPTS
10681068

10691069
This ensures the environment variables are explicitly exported and therefor are more likely to be picked up by all shell processes. It also creates environment variables called `$NPM_OPTS{:bash}`, `$BUN_OPTS{:bash}`, and `$YARN_OPTS{:bash}`, which can be passed to NPM in lieu of the macros `%{npm_config_opts}{:rpmspec}`, `%{bun_config_opts}{:rpmspec}`, and `%{yarn_config_opts}{:rpmspec}`, respectively, to force our config if necessary.
10701070

1071-
This should only be needed in the event you are using [%__npx](#__npx), [%__pnpx](#__pnpx), [%__bunx](#__bunx), [%__dx](#__dx), or [%__yarn_dlx](#__yarn_dlx).
1071+
This should only be needed in the event you are using [%__npx](#__npx), [%__pnpx](#__pnpx), [%__bunx](#__bunx), [%__dx](#__dx), [%__yarn_dlx](#__yarn_dlx), OR the package uses one of these buildsystems (ex. build command uses `wails`).
10721072

10731073
## Nim
10741074
These macros assist with building [Nim](https://nim-lang.org) projects.

0 commit comments

Comments
 (0)