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

Custom and interactive install #293

Merged
merged 5 commits into from
Apr 17, 2016
Merged

Custom and interactive install #293

merged 5 commits into from
Apr 17, 2016

Commits on Apr 16, 2016

  1. Configuration menu
    Copy the full SHA
    0f26a7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb5b0c4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7f89e05 View commit details
    Browse the repository at this point in the history
  4. Extend interactive pre-install confirmation with an "advanced" option

    Add `confirm_advanced` and `advanced_install` functions.
    brson committed Apr 16, 2016
    Configuration menu
    Copy the full SHA
    e9a8318 View commit details
    Browse the repository at this point in the history
  5. Add interactive advanced installation

    This allows users to change --no-modify-path and --default-toolchain
    from the interactive cli installer.
    
    A typical session looks like
    
    ```
    ... snip ...
    
    To cancel installation, type "n", or for more options type "a",
    then press the Enter key to continue.
    
    Press the Enter key to install Rust.
    a
    
    Selected installation options:
    
         default toolchain: stable
      modify PATH variable: yes
    
    I'm going to ask you the value of each these installation options.
    You may simply press the Enter key to accept the default.
    
    Default toolchain? (stable/beta/nightly)
    nightly
    
    Modify PATH variable? (y/n)
    n
    
    That's it! We're ready to install Rust.
    
    Selected installation options:
    
         default toolchain: nightly
      modify PATH variable: no
    
    To cancel installation, type "n", or for more options type "a",
    then press the Enter key to continue.
    
    Press the Enter key to install Rust.
    
    info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
    info: default toolchain set to 'nightly'
    
      nightly unchanged - rustc 1.9.0-nightly (177905703 2016-04-08)
    
    Rust is installed now. Great!
    
    To get started you need Cargo's bin directory in your `PATH`
    environment variable.
    
    To configure your current shell run `source /home/brian/dev/.cargo/env`.
    ```
    brson committed Apr 16, 2016
    Configuration menu
    Copy the full SHA
    33a4bfb View commit details
    Browse the repository at this point in the history