Edgewall Software

Ticket #376 (closed enhancement: fixed)

Opened 6 years ago

Last modified 5 years ago

${platform} variable

Reported by: anonymous Owned by: dfraser
Priority: major Milestone: 0.6
Component: General Version: dev
Keywords: Cc:
Operating System: Linux

Description

I would be useful to replace/insert the current target/platform Name in a recipe:

<c:make target="all" file="${target}/Makefile"/>

Phil

Attachments

platform-attr-376.patch Download (2.0 KB) - added by dfraser 6 years ago.
Patch to enable platform variable

Change History

  Changed 6 years ago by dfraser

  • status changed from new to assigned
  • owner changed from cmlenz to dfraser
  • summary changed from ${target} variable to ${platform} variable

Good idea. Note that property interpolation is already done for path, config, build, revision in BuildMaster._process_build_initiation and can be extended via config files.

Can you test the patch I attach and see if it lets you use ${platform} to get the target platform name? ( I changed it to platform since this is the variable used consistently through the code for the target platform)

Changed 6 years ago by dfraser

Patch to enable platform variable

  Changed 6 years ago by dfraser

If that works for you I can commit it. We should probably also move some of the linked documentation above from the wiki into the svn docs

follow-up: ↓ 4   Changed 6 years ago by anonymous

I tested your patch. It's working as expected. Thank's for this enhancement.

in reply to: ↑ 3   Changed 6 years ago by dfraser

  • status changed from assigned to closed
  • resolution set to fixed

Replying to anonymous:

I tested your patch. It's working as expected. Thank's for this enhancement.

Thanks for the feedback - applied in r628

  Changed 5 years ago by osimons

  • milestone changed from 0.7 to 0.6

Wrong milestone.

Add/Change #376 (${platform} variable)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.