Compare commits
34 Commits
53710672c7
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 9b6a29b5cf | |||
| a3b70d0d23 | |||
| a45c02b93a | |||
| 1d05b2e26d | |||
| 00b4ffe174 | |||
| 0e70c533c3 | |||
| 61a584c9f5 | |||
| 5f66a5d7d5 | |||
| 2c754288e8 | |||
| 1df95d386d | |||
| 060ef9113c | |||
| 4cc5f8b743 | |||
| 129f5f6d34 | |||
| 420421ca9d | |||
| 6e0d4a7bf1 | |||
| c1901f2098 | |||
| e0e26e12c9 | |||
| e6436a8373 | |||
| 895636a22e | |||
| b6b4a4cb23 | |||
| 9eebc6da2c | |||
| 8468ec31ec | |||
| f89474af9b | |||
| ed6862cf41 | |||
| c9b23c2371 | |||
| 236bf8487e | |||
| 21127b18ff | |||
| 2864ff60de | |||
| 184f15bbab | |||
| ac867ddff7 | |||
| ae7083d23b | |||
| f76bef395a | |||
| 6bf6f119b2 | |||
| 6e51cddc81 |
@@ -0,0 +1,14 @@
|
|||||||
|
const fs = require("fs")
|
||||||
|
const luamin = require('lua-format')
|
||||||
|
|
||||||
|
const Code = fs.readFileSync(process.argv[2],"utf-8")
|
||||||
|
const Settings = {
|
||||||
|
RenameVariables: true,
|
||||||
|
RenameGlobals: false,
|
||||||
|
SolveMath: false,
|
||||||
|
Indentation: '\t'
|
||||||
|
}
|
||||||
|
|
||||||
|
const Beautified = luamin.Beautify(Code, Settings)
|
||||||
|
const Minified = luamin.Minify(Code, Settings)
|
||||||
|
fs.writeFileSync(process.argv[2],Minified)
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
name: Minify all Lua files to minified branch
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
minify:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout main branch
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: main
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Get latest commit info
|
||||||
|
id: commit
|
||||||
|
run: |
|
||||||
|
COMMIT_MSG=$(git log -1 --pretty=%s)
|
||||||
|
echo "message=${COMMIT_MSG}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Set up Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 25.6.1
|
||||||
|
|
||||||
|
- name: Switch to minified branch
|
||||||
|
run: git checkout minified
|
||||||
|
|
||||||
|
- name: Copy files from main
|
||||||
|
run: |
|
||||||
|
git checkout main -- .
|
||||||
|
git reset HEAD
|
||||||
|
|
||||||
|
- name: Just do the whole damn thing
|
||||||
|
run: |
|
||||||
|
cd .github/workflows
|
||||||
|
npm install github:Ponali/luamin.js
|
||||||
|
for file in $(find ../.. -name "*.lua" -not -path "../../.git/*" -not -path "../../.github/*"); do
|
||||||
|
echo $file
|
||||||
|
node minify.js $file
|
||||||
|
done
|
||||||
|
cd ../..
|
||||||
|
|
||||||
|
- name: Commit and push to minified branch
|
||||||
|
run: |
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
|
||||||
|
git add $(find . -name "*.lua" -not -path "./.git/*" -not -path "./.github/*")
|
||||||
|
git commit -m "${{ steps.commit.outputs.message }} (minified)"
|
||||||
|
git push origin minified
|
||||||
@@ -1,23 +1,25 @@
|
|||||||
# Halyde
|
# Halyde
|
||||||
A universal, customizable and feature-packed operating system for OpenComputers.
|
### If you are viewing on GitHub: Halyde has moved to [Gitea](https://git.sting.lt/Cerulean-Blue/Halyde). This repository is now a read-only mirror. Contributions, issues and pull requests will not be processed here. Please go to [the Gitea instance](https://git.sting.lt/Cerulean-Blue/Halyde) for that.
|
||||||
|
|
||||||
<p align="center">
|
A universal, customizable and feature-packed operating system for OpenComputers.
|
||||||
<a href="https://lua.org/">
|
|
||||||
<img src="https://img.shields.io/badge/Written_in-Lua-blue?style=plastic&logo=lua" /></a>
|
<p align="center">
|
||||||
<a href="https://ocdoc.cil.li/">
|
<a href="https://lua.org/">
|
||||||
<img src="https://img.shields.io/badge/Made_for-OpenComputers-yellow?style=plastic" /></a>
|
<img src="https://img.shields.io/badge/Written_in-Lua-blue?style=plastic&logo=lua" /></a>
|
||||||
<a href="https://cerulean-blue.gitbook.io/halyde-docs">
|
<a href="https://ocdoc.cil.li/">
|
||||||
<img src="https://img.shields.io/badge/Documented_on-GitBook-green?style=plastic&logo=gitbook" /></a>
|
<img src="https://img.shields.io/badge/Made_for-OpenComputers-yellow?style=plastic" /></a>
|
||||||
</p>
|
<a href="https://wiki.sting.lt/">
|
||||||
|
<img src="https://img.shields.io/badge/Documented_on-DokuWiki-green?style=plastic" /></a>
|
||||||
## Installation
|
</p>
|
||||||
To install Halyde from OpenOS, simply run:
|
|
||||||
|
## Installation
|
||||||
`pastebin run MB21BTMv`
|
To install Halyde from OpenOS, simply run:
|
||||||
|
|
||||||
If for some reason that doesn't work, try:
|
`pastebin run MB21BTMv`
|
||||||
|
|
||||||
`wget -f https://raw.githubusercontent.com/Team-Cerulean-Blue/Halyde/refs/heads/main/webinstall.lua /tmp/webinstall.lua && /tmp/webinstall.lua`
|
If for some reason that doesn't work, try:
|
||||||
|
|
||||||
## Docs
|
`wget -f https://raw.githubusercontent.com/Team-Cerulean-Blue/Halyde/refs/heads/main/webinstall.lua /tmp/webinstall.lua && /tmp/webinstall.lua`
|
||||||
Halyde is [documented on GitBook](https://cerulean-blue.gitbook.io/halyde-docs).
|
|
||||||
|
## Docs
|
||||||
|
Halyde is [documented on DokuWiki](https://wiki.sting.lt/), however there is an alternative documentation on [GitBook](https://cerulean-blue.gitbook.io/halyde-docs/).
|
||||||
|
|||||||
+1
-1
@@ -79,7 +79,7 @@ local agcfg = {
|
|||||||
},
|
},
|
||||||
["argentum"] = {
|
["argentum"] = {
|
||||||
["maindir"] = "",
|
["maindir"] = "",
|
||||||
["version"] = "1.3.1",
|
["version"] = "1.3.3",
|
||||||
["description"] = "The default package manager for Halyde.",
|
["description"] = "The default package manager for Halyde.",
|
||||||
["directories"] = {
|
["directories"] = {
|
||||||
"argentum",
|
"argentum",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
local agregistry = {
|
local agregistry = {
|
||||||
["halyde"] = "https://raw.githubusercontent.com/Team-Cerulean-Blue/Halyde/refs/heads/main/",
|
["halyde"] = "https://raw.githubusercontent.com/Team-Cerulean-Blue/Halyde/refs/heads/main/",
|
||||||
["edit"] = "https://raw.githubusercontent.com/Team-Cerulean-Blue/Halyde/refs/heads/main/",
|
["edit"] = "https://raw.githubusercontent.com/Team-Cerulean-Blue/Halyde/refs/heads/main/",
|
||||||
@@ -8,7 +9,11 @@ local agregistry = {
|
|||||||
["hextra"] = "https://raw.githubusercontent.com/Ponali/ArgentumPackages/refs/heads/master/",
|
["hextra"] = "https://raw.githubusercontent.com/Ponali/ArgentumPackages/refs/heads/master/",
|
||||||
["utape"] = "https://raw.githubusercontent.com/Ponali/ArgentumPackages/refs/heads/master/",
|
["utape"] = "https://raw.githubusercontent.com/Ponali/ArgentumPackages/refs/heads/master/",
|
||||||
["libctif"] = "https://raw.githubusercontent.com/Ponali/ArgentumPackages/refs/heads/master/",
|
["libctif"] = "https://raw.githubusercontent.com/Ponali/ArgentumPackages/refs/heads/master/",
|
||||||
["ctif-viewer"] = "https://raw.githubusercontent.com/Ponali/ArgentumPackages/refs/heads/master/"
|
["ctif-viewer"] = "https://raw.githubusercontent.com/Ponali/ArgentumPackages/refs/heads/master/",
|
||||||
|
["libsha256"] = "https://raw.githubusercontent.com/tema5002/ag-packages/refs/heads/main/",
|
||||||
|
["sha256sum"] = "https://raw.githubusercontent.com/tema5002/ag-packages/refs/heads/main/",
|
||||||
|
["base64"] = "https://raw.githubusercontent.com/mcplayer3/AgPackages/refs/heads/main/",
|
||||||
|
["gitget"] = "https://raw.githubusercontent.com/mcplayer3/AgPackages/refs/heads/main/"
|
||||||
}
|
}
|
||||||
|
|
||||||
return agregistry
|
return agregistry
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
Aargentum/store/
|
Aargentum/store/
|
||||||
Aargentum/
|
Aargentum/
|
||||||
V1.2.0
|
V1.3.3
|
||||||
Aargentum/registry.cfg
|
Aargentum/registry.cfg
|
||||||
Ahalyde/apps/argentum.lua
|
Ahalyde/apps/argentum.lua
|
||||||
Ahalyde/apps/helpdb/argentum.txt
|
Ahalyde/apps/helpdb/argentum.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user