Compare commits
34 Commits
| 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
|
||||
A universal, customizable and feature-packed operating system for OpenComputers.
|
||||
|
||||
<p align="center">
|
||||
<a href="https://lua.org/">
|
||||
<img src="https://img.shields.io/badge/Written_in-Lua-blue?style=plastic&logo=lua" /></a>
|
||||
<a href="https://ocdoc.cil.li/">
|
||||
<img src="https://img.shields.io/badge/Made_for-OpenComputers-yellow?style=plastic" /></a>
|
||||
<a href="https://cerulean-blue.gitbook.io/halyde-docs">
|
||||
<img src="https://img.shields.io/badge/Documented_on-GitBook-green?style=plastic&logo=gitbook" /></a>
|
||||
</p>
|
||||
|
||||
## Installation
|
||||
To install Halyde from OpenOS, simply run:
|
||||
|
||||
`pastebin run MB21BTMv`
|
||||
|
||||
If for some reason that doesn't work, try:
|
||||
|
||||
`wget -f https://raw.githubusercontent.com/Team-Cerulean-Blue/Halyde/refs/heads/main/webinstall.lua /tmp/webinstall.lua && /tmp/webinstall.lua`
|
||||
|
||||
## Docs
|
||||
Halyde is [documented on GitBook](https://cerulean-blue.gitbook.io/halyde-docs).
|
||||
# Halyde
|
||||
### 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.
|
||||
|
||||
A universal, customizable and feature-packed operating system for OpenComputers.
|
||||
|
||||
<p align="center">
|
||||
<a href="https://lua.org/">
|
||||
<img src="https://img.shields.io/badge/Written_in-Lua-blue?style=plastic&logo=lua" /></a>
|
||||
<a href="https://ocdoc.cil.li/">
|
||||
<img src="https://img.shields.io/badge/Made_for-OpenComputers-yellow?style=plastic" /></a>
|
||||
<a href="https://wiki.sting.lt/">
|
||||
<img src="https://img.shields.io/badge/Documented_on-DokuWiki-green?style=plastic" /></a>
|
||||
</p>
|
||||
|
||||
## Installation
|
||||
To install Halyde from OpenOS, simply run:
|
||||
|
||||
`pastebin run MB21BTMv`
|
||||
|
||||
If for some reason that doesn't work, try:
|
||||
|
||||
`wget -f https://raw.githubusercontent.com/Team-Cerulean-Blue/Halyde/refs/heads/main/webinstall.lua /tmp/webinstall.lua && /tmp/webinstall.lua`
|
||||
|
||||
## 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"] = {
|
||||
["maindir"] = "",
|
||||
["version"] = "1.3.1",
|
||||
["version"] = "1.3.3",
|
||||
["description"] = "The default package manager for Halyde.",
|
||||
["directories"] = {
|
||||
"argentum",
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
|
||||
local agregistry = {
|
||||
["halyde"] = "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/",
|
||||
["utape"] = "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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Aargentum/store/
|
||||
Aargentum/
|
||||
V1.2.0
|
||||
V1.3.3
|
||||
Aargentum/registry.cfg
|
||||
Ahalyde/apps/argentum.lua
|
||||
Ahalyde/apps/helpdb/argentum.txt
|
||||
|
||||
Reference in New Issue
Block a user