-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
100 changed files
with
22,117 additions
and
4,201 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
alias salam="/mnt/c/Users/MAX/Salam/src/main" | ||
export PATH="$PATH:/mnt/c/Users/MAX/Salam/src" | ||
alias salam="/mnt/c/Users/MAX/Salam/salam" | ||
|
||
export PATH="$PATH:/mnt/c/Users/MAX/Salam" | ||
|
||
source ~/.bashrc |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,41 @@ | ||
# Editor and system files | ||
.DS_Store | ||
.idea | ||
.vscode | ||
.idea/ | ||
.vscode/ | ||
*.bak | ||
*.iml | ||
*.ipr | ||
*.swp | ||
*.tmp | ||
|
||
# Compiled object files | ||
src/*.o | ||
src/*.wino | ||
|
||
# Executables | ||
salam | ||
salam.exe | ||
|
||
# WebAssembly output | ||
salam-wa.wasm | ||
salam-wa.js | ||
salam-wa.html | ||
|
||
# Test output directories | ||
test/**/output/ | ||
|
||
# Generated output files | ||
out/* | ||
|
||
# Temporary files | ||
src/update.tmp | ||
|
||
# Git metadata | ||
.git | ||
.gitignore | ||
|
||
# Docker-specific exclusions | ||
docker-compose.override.yaml | ||
docker-compose.override.yml | ||
|
||
docker/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ on: | |
branches: | ||
- main | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-latest | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
name: Pull Request Labeler | ||
on: | ||
- pull_request_target | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
labeler: | ||
permissions: | ||
|
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 |
---|---|---|
|
@@ -8,6 +8,9 @@ on: | |
branches: | ||
- main | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
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,64 @@ | ||
name: Run Sync Script | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
run-sync-script: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install Python dependencies | ||
run: | | ||
cd config | ||
if [ -f requirements.txt ]; then | ||
cat requirements.txt | ||
pip install -r requirements.txt | ||
fi | ||
- name: Run sync.py script | ||
run: | | ||
cd config | ||
python3 sync.py | ||
- name: Check for changes | ||
id: check_changes | ||
run: | | ||
if [ -n "$(git status --porcelain)" ]; then | ||
echo "Changes detected" | ||
echo "changes=true" >> $GITHUB_ENV | ||
else | ||
echo "No changes detected" | ||
echo "changes=false" >> $GITHUB_ENV | ||
fi | ||
shell: bash | ||
|
||
- name: Commit and push changes | ||
if: env.changes == 'true' | ||
run: | | ||
FIRST_NAME="Max" | ||
DOMAIN="gmail.com" | ||
EMAIL="${FIRST_NAME}BaseCode@${DOMAIN}" | ||
git config --global user.name "Max Base (GitHub Actions)" | ||
git config --global user.email "$EMAIL" | ||
git add -A | ||
git commit -m "Auto-sync: Update after running sync.py script" | ||
git push https://x-access-token:${{ secrets.USER_TOKEN }}@github.com/${{ github.repository }}.git |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,6 @@ test/**/output/ | |
out/* | ||
|
||
src/update.tmp | ||
|
||
# src/generated-config/ | ||
# config/generated-json/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Ignore artifacts: | ||
build | ||
config/layout/attribute/style/value.yaml | ||
generated-config/layout/attribute/style/value.yaml | ||
coverage | ||
test |
Oops, something went wrong.