Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build script #493

Open
Menno86 opened this issue Dec 30, 2023 · 1 comment
Open

Build script #493

Menno86 opened this issue Dec 30, 2023 · 1 comment

Comments

@Menno86
Copy link

Menno86 commented Dec 30, 2023

Request/suggestion

My suggestion would be to facilitate a build script. This adds more convenience for all Xcode builders and ease of use for (new) users who lack coding knowledge.

The script could replace multiple steps of the build proces at: https://xdrip4ios.readthedocs.io/en/latest/install/build/ or it could co-exist.

I suggested this a couple of weeks ago to @paulplant on Facebook, and finally found some time.

What problem does this solve?

Not really a problem, but more extra convenience for the community of Xdrip4iOS users.

I find it charming that the built script eliminates the steps of: downloading the Config file and editing it manually. It also eliminates the step of giving the build command in terminal (.xed).

The script also neatly places all the downloaded versions of Xdrip in a folder. The second time the script is used, it is no longer needed to enter the provisioning profile code, it automatically adds this.

This script may be an easy win in terms of convenience.

The script is currently hosted by LoopandLearn and will be deleted with the next release of Loop, since they have chosen to no longer facilitate xDrip4iOS as a GCM source.

The script

Terminal command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/loopandlearn/lnl-scripts/main/BuildxDrip4iOS.sh)"

Of course the LoopandLearn reference needs to be adjusted to where this script will be hosted.

Script:
https://github.com/loopandlearn/lnl-scripts/blob/main/BuildxDrip4iOS.sh#L1

File with script attached in case it gets deleted:
BuildxDrip4iOS.sh.zip

@LiroyvH
Copy link
Contributor

LiroyvH commented Dec 30, 2023

A script could be a nice addition, but should never be a replacement leading to the removal of the manual steps. They made that mistake with the iAPS docs and I hope we won't make that same poor choice here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants