Opened 11 years ago
Closed 11 years ago
#10712 closed enhancement (duplicate)
Making command-line arguments available in profile
Reported by: | smellycat | Owned by: | James Burke |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | BuildSystem | Version: | 1.4.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I would like the command-line arguments to be available in build profiles. To accomplish this I added one line of code to buildUtil.js in the makeBuildOptions method: DojoBuildArguments? = kwArgs;
My usecase is the following: The dojo source is not in my project directory. It is in a library folder so that it can be shared by many projects. When building my source, I need the basedir (project folder) variable in the prefixes definition. I add an extra argument when calling the build script. And by making the arguments available with the change as above, I can extract the basedir from the arguments and use it in my prefixes.
dup #10711