Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3 from drajathasan/development
Browse files Browse the repository at this point in the history
Merge Development ke Production
  • Loading branch information
drajathasan authored Jun 4, 2021
2 parents 6e27658 + 57d62b1 commit d497ea8
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 4 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SLiMS Tarsius

Sebuah perkakas untuk [SLiMS](https://github.com/slims/) yang digunakan sebagai *code generator* seperti membuat kerangka dasar dari plugin, template, modul, library, dan rest-api.

### Cara pasang
* Buka konsol kesangan anda seperti, cmd, terminal, powershell dll
* Pastikan anda sudah memasang [composer](https://getcomposer.org/download/).
* Pastikan anda menggunakan SLiMS sekurang nya versi 9.3.0
* Masuk kedalam folder SLiMS anda.
* Buka file composer.json
* lalu tambahkan skrip berikut seperti berikut
> "scripts": {
> "post-update-cmd": [
> "php -r \"copy(__DIR__.'/vendor/drajat/slims-tarsius/tests/tarsius', __DIR__.'/tarsius')\""
> ]
> }
dibawah "license": "GNU GPL v3",
seperti berikut :
![alt text](./example-composer.png "Logo Title Text 1")
* Kembali ke terminal/shell anda lalu ketikan perintah seperti berikut
> **composer require drajat/slims-tarsius**
### Cara menggunakan
Ketikan perintah seperti berikut untuk dokumentasi nya:
> php tarsius --help
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
],
"minimum-stability": "dev",
"require": {
"php": ">=7.3.0"
"php": ">=7.4.0"
},
"autoload": {
"psr-0": {
"SLiMSTarsius": "src/"
}
},
"scripts": {
"post-update-cmd": [
"php -r \"copy(__DIR__.'/vendor/drajat/slims-tarsius/tests/tarsius', __DIR__.'/tarsius');\""
"post-update-cmd": [
"php -r \"copy(__DIR__.'/vendor/drajat/slims-tarsius/tests/tarsius', __DIR__.'/tarsius');\""
]
}
}
Binary file added example-composer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/SLiMSTarsius/Docgenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static function banner()
| | (_| | | \__ \ | |_| \__ \
|_|\__,_|_| |___/_|\__,_|___/
";
echo "\t\t\t v1.2.2 \n";
echo "\t\t\t v1.2.3 \n";
}
public static function firstMeet()
{
Expand Down

0 comments on commit d497ea8

Please sign in to comment.