This repository has been archived by the owner on Mar 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Quito extensión .out * Reorganizo bastantes cosas * Reorganizo settings * Extraigo funcion * Mejoro logs * Automatizo scaffold * Fix typo * Intento mejorar el scaffold * Faltaba el origin * Pusheo a este mismo repo * Otra prueba más * Copilot dice que va así * Youngblood say you want me * Ayuda no se usar mv * Faltaban los ignorados * Da loco copiamelooo * Lalalaaa lai to mi * Quito watch y actualizo snippets * Settings configuration * Deploy flags en readme * Generar main * Actualizo tests.md * Actualizo versión
- Loading branch information
Showing
56 changed files
with
410 additions
and
371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Build scaffold | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
projects: | ||
description: 'Projects to generate, separated by spaces' | ||
required: true | ||
default: 'kernel memoria cpu filesystem' | ||
static: | ||
description: 'Static lib to generate' | ||
required: true | ||
default: 'utils' | ||
external: | ||
description: 'External libs to include, separated by spaces' | ||
required: true | ||
default: 'commons pthread readline m' | ||
branch: | ||
description: 'Branch to push the generated files' | ||
required: true | ||
default: 'scaffold' | ||
|
||
jobs: | ||
generate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: oven-sh/setup-bun@v1 | ||
with: | ||
bun-version: latest | ||
|
||
- name: Generate scaffold files | ||
run: | | ||
bun ./scripts/scaffold.js \ | ||
--projects "${{ github.event.inputs.projects }}" \ | ||
--staticLib "${{ github.event.inputs.static }}" \ | ||
--externalLibs "${{ github.event.inputs.external }}" | ||
- name: Push to scaffold branch | ||
run: | | ||
git switch --orphan ${{ github.event.inputs.branch }} | ||
mv dist/{.gitignore,*} . | ||
git add . | ||
git config --global user.name "github-actions[bot]" | ||
git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
git commit -m "Generate tp-scaffold files" | ||
git push -f origin ${{ github.event.inputs.branch }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
name: Deploy to GitHub Pages | ||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: | ||
- main | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ node_modules | |
.temp | ||
*cache | ||
dist/ | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.