Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#376 closed enhancement (fixed)

${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 (1)

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

Download all attachments as: .zip

Change History (6)

comment:1 Changed 15 years ago by dfraser

  • Owner changed from cmlenz to dfraser
  • Status changed from new to assigned
  • 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 15 years ago by dfraser

Patch to enable platform variable

comment:2 Changed 15 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

comment:3 follow-up: Changed 15 years ago by anonymous

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

comment:4 in reply to: ↑ 3 Changed 15 years ago by dfraser

  • Resolution set to fixed
  • Status changed from assigned to closed

Replying to anonymous:

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

Thanks for the feedback - applied in r628

comment:5 Changed 15 years ago by osimons

  • Milestone changed from 0.7 to 0.6

Wrong milestone.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain dfraser.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.