Package simplifying creation of online bootstrap installer scripts
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore Initialize Jun 29, 2014
.project Initialize Jun 29, 2014
BootstrapInstaller.m Add handling of MMA 10 Sep 22, 2014
LICENSE Initialize Jun 29, 2014
README.md Whitespace fix Oct 29, 2014

README.md

Bootstrap Installer

Package simplifying creation of online bootstrap installer scripts.

release v0.1.1 semantic versioning license: MIT

Usage examples

Following code is used as bootstrap installer script of version 1.0.0 of TeXUtilities package:

Get["https://raw.githubusercontent.com/jkuczm/MathematicaBootstrapInstaller/v0.1.1/BootstrapInstaller.m"]

BootstrapInstall[
    "TeXUtilities",
    "https://github.com/jkuczm/MathematicaTeXUtilities/releases/download/v1.0.0/TeXUtilities.zip",
    "AdditionalFailureMessage" ->
        Sequence[
            "You can ",
            Hyperlink[
                "install TeXUtilities package manually",
                "https://github.com/jkuczm/MathematicaTeXUtilities#manual-installation"
            ],
            "."
        ]
]

Following code is used as bootstrap installer script of version 0.1.1 of MUnitExtras package. It installs the package together with proper versions of dependencies.

Get["https://raw.githubusercontent.com/jkuczm/MathematicaBootstrapInstaller/v0.1.1/BootstrapInstaller.m"]

BootstrapInstall[
    "MUnitExtras",
    "https://github.com/jkuczm/MUnitExtras/releases/download/v0.1.1/MUnitExtras.zip"
    ,
    {
        #1
        ,
        "https://github.com/jkuczm/Mathematica" <> #1 <>
        "/releases/download/v" <> #2 <> "/" <> #1 <> ".zip"
    }& @@@ {
        "EvaluationUtilities" -> "0.1.0",
        "MessagesUtilities" -> "0.1.0",
        "OptionsUtilities" -> "0.1.0",
        "PatternUtilities" -> "0.1.0",
        "ProtectionUtilities" -> "0.1.0",
        "StringUtilities" -> "0.1.0"
    }
    ,
    "AdditionalFailureMessage" ->
        Sequence[
            "You can ",
            Hyperlink[
                "install MUnitExtras package manually",
                "https://github.com/jkuczm/MUnitExtras#manual-installation"
            ],
            "."
        ]
]

Bugs and requests

If you find any bugs or have feature request please create an issue on GitHub.

Contributing

Feel free to fork and send pull requests.

All contributions are welcome!

License

This package is released under The MIT License.

Versioning

Releases of this package will be numbered using Semantic Versioning guidelines.