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

Add toolkit function for build info in json format #356

Open
michaeltryby opened this issue Nov 8, 2021 · 1 comment
Open

Add toolkit function for build info in json format #356

michaeltryby opened this issue Nov 8, 2021 · 1 comment
Labels
Easy Easy Issue

Comments

@michaeltryby
Copy link

michaeltryby commented Nov 8, 2021

{
    "project": "SWMM",
    "organization": "Open_Water_Analytics",
    "version": {
        "string": "5.1.14",
        "major": "5",
        "minor": "1",
        "patch": "14"
    },
    "git_hash": "6d74d607553c3edc7004192b6e847fa79cbd117d",
    "platform": "Darwin",
    "complier": {
        "id": "AppleClang",
        "version": "13.0.0.13000029"
    },
    "build_id": "2021-11-08T16:06:48Z"
}

We could simplify the CI scripts using something like this.

@michaeltryby
Copy link
Author

/**
 @brief Get Build Info
 @param[out]
 @returns error code
 */
EXPORT_TOOLKIT int swmm_getBuildInfo(char *dest);

@michaeltryby michaeltryby added the Easy Easy Issue label Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Easy Easy Issue
Projects
None yet
Development

No branches or pull requests

1 participant