Skip to content

Commit d1bc3df

Browse files
committed
Add own package manager
1 parent 219cbda commit d1bc3df

File tree

6 files changed

+421
-0
lines changed

6 files changed

+421
-0
lines changed

dist/own

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env sh
2+
ownlang run own "$@"

dist/own.cmd

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@echo off
2+
ownlang run own %*

docs/docs/en/changelog.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Next
44

5+
### Changes
6+
- Add `own` package manager. Usage examples: `own`, `own init`, `own add openai`.
7+
58
### Fixes
69
- Fix passing command-line arguments to scripts.
710
- Fix `this` in non-static class methods.

docs/docs/ru/changelog.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Next
44

5+
### Изменения
6+
- Добавлен `own` пакетный менеджер. Примеры испльзования: `own`, `own init`, `own add openai`.
7+
58
### Исправления
69
- Исправлена передача аргументов командной строки скриптам.
710
- Исправлен `this` в нестатических методах классов.

ownlang-desktop/src/main/resources/scripts/listscripts.own

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
println "Available scripts:
22
checkUpdate - checks updates on GitHub
3+
own - own package manager
34

45
To run a script use command:
56
ownlang run checkUpdate

0 commit comments

Comments
 (0)