├── CONTRIBUTING.md ├── LICENSE.txt ├── README.md ├── dnvm.rb └── kvm.rb /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Contributing 2 | ====== 3 | 4 | Information on contributing to this repo is in the [Contributing Guide](https://github.com/aspnet/Home/blob/dev/CONTRIBUTING.md) in the Home repo. 5 | 6 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) .NET Foundation. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. 13 | 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | homebrew-dnx 2 | === 3 | 4 | ## This repository is obsolete and no longer used or maintained. 5 | 6 | 7 | DNX and DNVM have been replaced by the new .NET CLI. See: 8 | 9 | - https://docs.microsoft.com/dotnet/articles/standard/getting-started 10 | - http://github.com/dotnet/cli 11 | 12 | As a result, we're not accepting anymore changes to this project. Please file any new issues on http://github.com/dotnet/cli. 13 | -------------------------------------------------------------------------------- /dnvm.rb: -------------------------------------------------------------------------------- 1 | require "formula" 2 | 3 | class Dnvm < Formula 4 | homepage "https://www.github.com/aspnet/Home" 5 | version "1.0.0-dev" 6 | url "https://github.com/aspnet/Home.git", :branch=> 'dev' 7 | 8 | depends_on "mono" => :recommended 9 | 10 | def install 11 | libexec.install "dnvm.sh" 12 | (libexec + "dnvm.sh").chmod 0755 13 | (libexec + "mono").make_symlink Formula["mono"].opt_bin/"mono" 14 | system "bash -c 'source #{libexec}/dnvm.sh; dnvm upgrade'" 15 | bin.install_symlink "#{libexec}/dnvm.sh" 16 | end 17 | 18 | def caveats; <<-EOS.undent 19 | Add the following to the ~/.bash_profile, ~/.bashrc or ~/.zshrc file: 20 | 21 | source dnvm.sh 22 | 23 | EOS 24 | end 25 | 26 | end 27 | -------------------------------------------------------------------------------- /kvm.rb: -------------------------------------------------------------------------------- 1 | require "formula" 2 | 3 | class Kvm < Formula 4 | homepage "https://www.github.com/aspnet/Home" 5 | version "1.0.0-beta3" 6 | url "https://github.com/aspnet/Home.git", :tag => 'v1.0.0-beta3' 7 | 8 | head "https://github.com/aspnet/Home.git", :branch => 'dev' 9 | 10 | depends_on "mono" => :recommended 11 | 12 | def install 13 | libexec.install "kvm.sh" 14 | (libexec + "kvm.sh").chmod 0755 15 | (libexec + "mono").make_symlink Formula["mono"].opt_bin/"mono" 16 | system "bash -c 'source #{libexec}/kvm.sh; kvm upgrade'" 17 | bin.install_symlink "#{libexec}/kvm.sh" 18 | bin.install_symlink "#{libexec}/current/k" 19 | bin.install_symlink "#{libexec}/current/klr" 20 | bin.install_symlink "#{libexec}/current/kpm" 21 | end 22 | 23 | def caveats; <<-EOS.undent 24 | Add the following to the ~/.bash_profile, ~/.bashrc or ~/.zshrc file: 25 | 26 | source kvm.sh 27 | 28 | EOS 29 | end 30 | 31 | end 32 | --------------------------------------------------------------------------------