Compare commits
28 Commits
Author | SHA1 | Date | |
---|---|---|---|
54227596c2
|
|||
f480b6f1f3
|
|||
052353765d
|
|||
288f45832c
|
|||
3e0cdc9628
|
|||
ce947c5826
|
|||
ee4b5003cd
|
|||
5aa4369f83
|
|||
69738f8be6
|
|||
0cacdd8ed5
|
|||
bb0405ac5b
|
|||
8edfe5dc27
|
|||
5620954306
|
|||
707b200e5f
|
|||
5d4b672c11
|
|||
aad910fb6c
|
|||
9012c5b541
|
|||
f6291bf8ba
|
|||
050be81a73
|
|||
b77e7ab45d
|
|||
f3f17fd68a
|
|||
ae9d304c0b
|
|||
6ff9913276
|
|||
370bc19ed7
|
|||
aa282bff5d
|
|||
4054508729
|
|||
202797f4bf
|
|||
8d6bee7144
|
22
README.md
22
README.md
@ -1,12 +1,18 @@
|
|||||||
# Octojpack - Easy Joomla Extension Packaging
|
<h2><img align="middle" src="https://raw.githubusercontent.com/odb/official-bash-logo/master/assets/Logos/Icons/PNG/64x64.png" >
|
||||||
|
Octojpack - Easy Joomla Extension Packaging
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
Written by Llewellyn van der Merwe (@llewellynvdm)
|
||||||
|
|
||||||
With this script we can easily package multiple extensions in an automated way from a json configuration file, and environment variables.
|
With this script we can easily package multiple extensions in an automated way from a json configuration file, and environment variables.
|
||||||
|
|
||||||
|
Linted by [#ShellCheck](https://github.com/koalaman/shellcheck)
|
||||||
|
|
||||||
> program only for ubuntu/debian and Gitea systems at this time (should you like to use it on other OS's please open and issue...)
|
> program only for ubuntu/debian and Gitea systems at this time (should you like to use it on other OS's please open and issue...)
|
||||||
---
|
---
|
||||||
# Install
|
# Install
|
||||||
```shell
|
```shell
|
||||||
$ sudo curl -L "https://git.vdm.dev/api/v1/repos/octoleo/octojpack/raw/src/octojpack" -o /usr/local/bin/octojpack
|
$ sudo curl -L "https://raw.githubusercontent.com/octoleo/octojpack/refs/heads/master/src/octojpack" -o /usr/local/bin/octojpack
|
||||||
$ sudo chmod +x /usr/local/bin/octojpack
|
$ sudo chmod +x /usr/local/bin/octojpack
|
||||||
```
|
```
|
||||||
---
|
---
|
||||||
@ -29,15 +35,23 @@ Usage: octojpack [OPTION...]
|
|||||||
Packager url
|
Packager url
|
||||||
example: octojpack -pu="https://git.vdm.dev/"
|
example: octojpack -pu="https://git.vdm.dev/"
|
||||||
======================================================
|
======================================================
|
||||||
|
-md | --main-dir=<path>
|
||||||
|
load the main working directory
|
||||||
|
example: octojpack --main-dir=/src
|
||||||
|
======================================================
|
||||||
-e | --env=<file>
|
-e | --env=<file>
|
||||||
load the environment variables file
|
load the environment variables file
|
||||||
example: octojpack --env=/src/.env
|
example: octojpack --env=/src/.env
|
||||||
======================================================
|
======================================================
|
||||||
--conf | --config=<path>
|
--conf | --config=<path/url>
|
||||||
load the configuration for the package in json format
|
load the configuration for the package in json format
|
||||||
file-example: src/example.json
|
file-example: src/example.json
|
||||||
example: octojpack --config=config.json
|
example: octojpack --config=config.json
|
||||||
======================================================
|
======================================================
|
||||||
|
-ld | --licence-dir=<path>
|
||||||
|
load the licence directory
|
||||||
|
example: octojpack --licence-dir=/src/licence
|
||||||
|
======================================================
|
||||||
-t | --token=<access_token>
|
-t | --token=<access_token>
|
||||||
load the global token
|
load the global token
|
||||||
example: octojpack --token=xxxxxxxxxxxxxxxxxxxxxxxxx
|
example: octojpack --token=xxxxxxxxxxxxxxxxxxxxxxxxx
|
||||||
@ -67,7 +81,7 @@ Usage: octojpack [OPTION...]
|
|||||||
example: octojpack -h
|
example: octojpack -h
|
||||||
example: octojpack --help
|
example: octojpack --help
|
||||||
======================================================
|
======================================================
|
||||||
Octojpack v1.0
|
Octojpack
|
||||||
======================================================
|
======================================================
|
||||||
```
|
```
|
||||||
|
|
||||||
|
1
src/.gitignore
vendored
1
src/.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
conf.json
|
conf.json
|
||||||
packager
|
packager
|
||||||
licenses
|
licenses
|
||||||
|
.octojpack
|
||||||
.env
|
.env
|
1046
src/octojpack
1046
src/octojpack
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user