Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/cpp-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
components: clippy, rustfmt
- name: Build
run: |
# Set cargo build target on macos
export MACOSX_DEPLOYMENT_TARGET=12.0
mkdir build
cd build
cmake ..
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,4 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/')"
run: |
cd dotnet/KclLib/bin/Release
dotnet nuget push KclLib.0.10.0-beta.2.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
dotnet nuget push KclLib.0.10.0-rc.1.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kcl-lang"
version = "0.10.0-beta.2"
version = "0.10.0-rc.1"
edition = "2021"
readme = "README.md"
documentation = "kcl-lang.io"
Expand All @@ -11,4 +11,4 @@ license = "Apache-2.0"

[dependencies]
anyhow = "1"
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ This way you'll be able to import the above dependency to use the SDK.
<dependency>
<groupId>com.kcl</groupId>
<artifactId>kcl-lib</artifactId>
<version>0.10.0-beta.2-SNAPSHOT</version>
<version>0.10.0-rc.1-SNAPSHOT</version>
</dependency>
```

Expand Down Expand Up @@ -187,7 +187,7 @@ This way you'll be able to import the above dependency to use the SDK.
<dependency>
<groupId>com.kcl</groupId>
<artifactId>kcl-lib</artifactId>
<version>0.10.0-beta.2-SNAPSHOT</version>
<version>0.10.0-rc.1-SNAPSHOT</version>
</dependency>
```

Expand Down Expand Up @@ -221,7 +221,7 @@ For CMake, you can use FetchContent to add KCL C++ Lib to your project.
FetchContent_Declare(
kcl-lib
GIT_REPOSITORY https://github.com/kcl-lang/lib.git
GIT_TAG v0.10.0-beta.2
GIT_TAG v0.10.0-rc.1
SOURCE_SUBDIR cpp
)
FetchContent_MakeAvailable(kcl-lib)
Expand Down
4 changes: 2 additions & 2 deletions c/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kcl-lib-c"
version = "0.10.0-beta.2"
version = "0.10.0-rc.1"
edition = "2021"
publish = false

Expand All @@ -12,4 +12,4 @@ doc = false
cbindgen = "0.26.0"

[dependencies]
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }
2 changes: 2 additions & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ foreach(EXE IN LISTS EXECUTABLES)
target_link_libraries(${EXE} PRIVATE userenv ws2_32 bcrypt)
endif()
if(APPLE)
find_library(CORESERVICES_LIB CoreServices)
target_link_libraries(${EXE} PRIVATE ${CORESERVICES_LIB})
target_link_libraries(${EXE} PRIVATE "-framework CoreFoundation -framework Security")
endif()
endforeach()
Expand Down
4 changes: 2 additions & 2 deletions cpp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
name = "kcl-lib-cpp"
publish = false
edition = "2021"
version = "0.10.0-beta.2"
version = "0.10.0-rc.1"

[lib]
crate-type = ["staticlib"]

[dependencies]
anyhow = "1.0"
cxx = "1.0"
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }

[build-dependencies]
cxx-build = "1.0"
4 changes: 2 additions & 2 deletions cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You can use FetchContent to add KCL C++ Lib to your project.
FetchContent_Declare(
kcl-lib
GIT_REPOSITORY https://github.com/kcl-lang/lib.git
GIT_TAG v0.10.0-beta.2
GIT_TAG v0.10.0-rc.1
SOURCE_SUBDIR cpp
)
FetchContent_MakeAvailable(kcl-lib)
Expand All @@ -24,7 +24,7 @@ Or you can download the source code and add it to your project.
mkdir third_party
cd third_party
git clone https://github.com/kcl-lang/lib.git
git checkout v0.10.0-beta.2
git checkout v0.10.0-rc.1
```

```shell
Expand Down
2 changes: 1 addition & 1 deletion dotnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ crate-type = ["cdylib"]
doc = false

[dependencies]
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }
2 changes: 1 addition & 1 deletion dotnet/KclLib/KclLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PropertyGroup>
<AssemblyName>KclLib</AssemblyName>
<PackageId>KclLib</PackageId>
<Version>0.10.0-beta.2</Version>
<Version>0.10.0-rc.1</Version>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<RepositoryUrl>https://github.com/kcl-lang</RepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion dotnet/examples/exec-program/exec-program.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KclLib" Version="0.10.0-beta.2" />
<PackageReference Include="KclLib" Version="0.10.0-rc.1" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion go/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
lib "kcl-lang.io/lib/go/lib"
)

const KCLVM_VERSION = "v0.10.0-beta.2"
const KCLVM_VERSION = "v0.10.0-rc.1"

func findPath(name string) string {
if path, err := exec.LookPath(name); err == nil {
Expand Down
Loading
Loading