Skip to content

Commit 1736064

Browse files
authored
Merge pull request #349 from Kray-G/develop
Updated for V1.1.0.
2 parents 45400fd + 4b7fa9b commit 1736064

File tree

4 files changed

+20
-19
lines changed

4 files changed

+20
-19
lines changed

ChangeLog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
* Scan for the update.
1414
* Search packages with pattern matching.
1515

16-
## V1.1.0 (Current Development Version)
16+
## V1.2.0 (Current Development Version)
17+
18+
## V1.1.0 (Official Release) - 2021/12/06
1719

1820
* New Features
1921
* #232: Supported a Package Manager named as `Kip`.

ChangeLog_v1.1.x.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Change Log
2+
3+
## V1.1.0 (Official Release) - 2021/12/06
4+
5+
This is 1st official release version.

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,13 @@ Looks like JavaScript, feels like Ruby, and it is a script language fitting in C
1010

1111
## Topics
1212

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

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

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

5753
#### Standard Libraries
5854

lib/exec/kip.kx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -338,15 +338,13 @@ class KinxPackageLibraryManager(repoMgr_) {
338338
}
339339

340340
private isInstalled(name, version) {
341-
if (installed_.isUndefined) {
342-
installed_ = [];
343-
var dir = $pkgpath / name;
344-
if (File.isDirectory(dir)) {
345-
Directory.walk(dir) { &(verpath)
346-
var ver = verpath.filename();
347-
installed_[name][ver] = true;
348-
};
349-
}
341+
installed_ ??= [];
342+
var dir = $pkgpath / name;
343+
if (File.isDirectory(dir)) {
344+
Directory.walk(dir) { &(verpath)
345+
var ver = verpath.filename();
346+
installed_[name][ver] = true;
347+
};
350348
}
351349
return installed_[name][version];
352350
}
@@ -753,7 +751,7 @@ class KinxPackageLibraryManager(repoMgr_) {
753751
createFile(PACKAGE_INFO_FILE, { name: name }.toJsonString(true));
754752
mkdir("docs", "README.md",
755753
"<!-- This is an auto-generated sample README file. Modify this as your own README file. -->\n"
756-
"# Kacc\n\n"
754+
"# %{name.toUpper(0, 1)}\n\n"
757755
"## Introduction\n\n"
758756
"This is a directory of documents for the package `%{name}` such as materials below.\n\n"
759757
"- Package Help - this `README.md` will be displayed by `kip help %{name}`\n"

0 commit comments

Comments
 (0)