Skip to content

Commit

Permalink
Merge pull request #349 from Kray-G/develop
Browse files Browse the repository at this point in the history
Updated for V1.1.0.
  • Loading branch information
Kray-G committed Dec 6, 2021
2 parents 45400fd + 4b7fa9b commit 1736064
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
4 changes: 3 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
* Scan for the update.
* Search packages with pattern matching.

## V1.1.0 (Current Development Version)
## V1.2.0 (Current Development Version)

## V1.1.0 (Official Release) - 2021/12/06

* New Features
* #232: Supported a Package Manager named as `Kip`.
Expand Down
5 changes: 5 additions & 0 deletions ChangeLog_v1.1.x.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Change Log

## V1.1.0 (Official Release) - 2021/12/06

This is 1st official release version.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,13 @@ Looks like JavaScript, feels like Ruby, and it is a script language fitting in C

## Topics

* **Official Release 1.0.3 is now available!** See <a href="https://github.com/Kray-G/kinx/releases">Releases</a>.<br />
* **Official Release 1.1.0 is now available!** See <a href="https://github.com/Kray-G/kinx/releases">Releases</a>.<br />
* Package Manager has been supported since the version 1.1.0.
* The main central repository for packages at https://github.com/Kray-G/kinx-package-repository.
* Now the Kinx is supporting the platform of **x86-64 Windows and Linux only**, because I have no environment.
* If you are interested in other platforms, **please check [here](#how-to-support-a-platform)**.
* **See [ChangeLog.md](ChangeLog.md)** about the history of this project.

> ### Current Status
>
> * I am preparing V1.1.0 to provide the update which is mainly including Package Manager featurein this branch.
> And I am also preparing the main central repository for packages at https://github.com/Kray-G/kinx-package-repository.
> Those will be published at the same time.
> It will be comming soon and please wait for a while.
## Introduction

Ruby is a major scripting language. Also Python is.
Expand Down Expand Up @@ -53,6 +48,7 @@ Mainly there are features below.
* **[REPL](docs/utility/repl.md)** is provided by default.
* **[Debugger](docs/utility/debugger.md)** is available and embedded in Kinx. Use the option `--debug` and you can run a script with debugger.
* Useful Testing System named as **[SpecTest](docs/index.md)**. It is designed to not only for Kinx but also for any other products.
* **Package Manager** has been officially supported since the version 1.1.0.

#### Standard Libraries

Expand Down
18 changes: 8 additions & 10 deletions lib/exec/kip.kx
Original file line number Diff line number Diff line change
Expand Up @@ -338,15 +338,13 @@ class KinxPackageLibraryManager(repoMgr_) {
}

private isInstalled(name, version) {
if (installed_.isUndefined) {
installed_ = [];
var dir = $pkgpath / name;
if (File.isDirectory(dir)) {
Directory.walk(dir) { &(verpath)
var ver = verpath.filename();
installed_[name][ver] = true;
};
}
installed_ ??= [];
var dir = $pkgpath / name;
if (File.isDirectory(dir)) {
Directory.walk(dir) { &(verpath)
var ver = verpath.filename();
installed_[name][ver] = true;
};
}
return installed_[name][version];
}
Expand Down Expand Up @@ -753,7 +751,7 @@ class KinxPackageLibraryManager(repoMgr_) {
createFile(PACKAGE_INFO_FILE, { name: name }.toJsonString(true));
mkdir("docs", "README.md",
"<!-- This is an auto-generated sample README file. Modify this as your own README file. -->\n"
"# Kacc\n\n"
"# %{name.toUpper(0, 1)}\n\n"
"## Introduction\n\n"
"This is a directory of documents for the package `%{name}` such as materials below.\n\n"
"- Package Help - this `README.md` will be displayed by `kip help %{name}`\n"
Expand Down

0 comments on commit 1736064

Please sign in to comment.