MobileNativeFoundation / MobileNativeFoundation/rules_xcodeproj

Feature Request: Support for multiple `pre_build` & `post_build` run scripts

Open
#2,109 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
Swift
Stars
626
Forks
124
PR merge metrics
No merged PRs in 30d

Description

Problem

At present pre_build & post_build run scripts take a single script each. This means If I want to run multiple post_build run scripts then I need to combine them in a single script and pass that to post_build argument, this works fine but this limits us from providing Inputs & Outputs to these Individual run scripts.

What I am trying to do

We have a script to copy some files to the generated app bundle, running that each time is costly hence I was thinking to add it as a separate run script and specify Inputs/Outputs.

Feature Request

Instead of a single script, accept an array of scripts in pre_build & post_build and also provide an option to specify scripts Inputs & Outputs.

P.S This feature also depends on issue/feature raised here - https://github.com/MobileNativeFoundation/rules_xcodeproj/issues/2108

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the current handling of pre_build and post_build scripts, then read issue 2108 because this request depends on it. Done means both options accept multiple scripts and each script can declare its own inputs and outputs.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.