Skip to content

Commit

Permalink
Rename package to 'DotNET.jl'
Browse files Browse the repository at this point in the history
  • Loading branch information
azurefx committed Jan 1, 2020
1 parent 52e2296 commit 43766f6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "CLR"
name = "DotNET"
uuid = "5091b313-875f-492b-8fe1-0f0d7d725ad8"
authors = ["AzureFx <[email protected]>"]
version = "0.1.0"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CLR.jl
# DotNET.jl

[![Build Status](https://travis-ci.org/azurefx/CLR.jl.svg?branch=master)](https://travis-ci.org/azurefx/CLR.jl)
[![Build Status](https://travis-ci.org/azurefx/DotNET.jl.svg?branch=master)](https://travis-ci.org/azurefx/DotNET.jl)

This package provides interoperability between Julia and [`Common Language Runtime`](https://docs.microsoft.com/dotnet/standard/clr), the execution engine of `.NET` applications. Many languages run on CLR, including `C#`, `Visual Basic .NET` and `PowerShell`.

Expand All @@ -19,7 +19,7 @@ This package uses `Artifacts` to provide binary dependencies, so Julia 1.3+ is r
```julia
julia> using Pkg

julia> Pkg.add(PackageSpec(url="https://github.com/azurefx/CLR.jl"))
julia> Pkg.add(PackageSpec(url="https://github.com/azurefx/DotNET.jl"))
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion src/CLRBridge.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module CLRBridge

import ...CLR:HRESULT,isfailed,CLRHostError,BStr,CLRHost,create_host,create_delegate
import ...DotNET:HRESULT,isfailed,CLRHostError,BStr,CLRHost,create_host,create_delegate
export CLRObject,null,isnull,gethandle,CLRException,BindingFlags

const Handle = UInt
Expand Down
2 changes: 1 addition & 1 deletion src/CoreCLR.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module CoreCLR

using Libdl

import ...CLR:HRESULT,isfailed,CLRHostError,CLRHost,detect_runtime,create_host,create_delegate
import ...DotNET:HRESULT,isfailed,CLRHostError,CLRHost,detect_runtime,create_host,create_delegate
export CoreCLRHost

const fp_coreclr_initialize = Ref{Ptr{Cvoid}}(0)
Expand Down
6 changes: 3 additions & 3 deletions src/CLR.jl → src/DotNET.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module CLR
module DotNET

import Pkg.Artifacts:@artifact_str

Expand Down Expand Up @@ -38,7 +38,7 @@ function __init__()
end
@error """
No .NET Core runtime found on this system.
Try specifying DOTNET_ROOT environment variable or adding 'dotnet' executable to PATH, then run 'CLR.__init__()' again.
Try specifying DOTNET_ROOT environment variable or adding 'dotnet' executable to PATH, then run 'DotNET.__init__()' again.
Note that .NET Framework is current not supported.
"""
end
Expand All @@ -50,7 +50,7 @@ function init_coreclr(runtime)
if !isfile(clrbridge)
error("""
Artifact is present but CLRBridge.dll not found, possibly due to a broken package installation.
You may need to delete the artifact directory '$dir' and try 'CLR.__init__()' again.
You may need to delete the artifact directory '$dir' and try 'DotNET.__init__()' again.
""")
end
tpalist = build_tpalist(dirname(runtime.path))
Expand Down
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Test
using CLR
import CLR:unbox
using DotNET
import DotNET:unbox

@testset "Type Loader" begin
@test T"System.Int64".Name == "Int64"
Expand Down

0 comments on commit 43766f6

Please sign in to comment.