Skip to content

Commit

Permalink
update for 24.3 (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
thatstoasty authored May 3, 2024
1 parent 17ac3cc commit 125ed87
Show file tree
Hide file tree
Showing 16 changed files with 1,824 additions and 274 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
run: |
curl https://get.modular.com | MODULAR_AUTH=${{ secrets.MODULAR_AUTH }} sh -
modular auth ${{ secrets.MODULAR_AUTH }}
modular install nightly/mojo
modular install mojo
pip install pytest
pip install git+https://github.com/guidorice/mojo-pytest.git
- name: Unit Tests
run: |
export MODULAR_HOME="/home/runner/.modular"
export PATH="/home/runner/.modular/pkg/packages.modular.com_nightly_mojo/bin:$PATH"
export PATH="/home/runner/.modular/pkg/packages.modular.com_mojo/bin:$PATH"
pytest
bash run_examples.sh
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Mog

![Mojo Nightly 24.x](https://img.shields.io/badge/Mojo%F0%9F%94%A5-Nightly_24.x-purple)
![Mojo 24.3](https://img.shields.io/badge/Mojo%F0%9F%94%A5-24.3-purple)

Style definitions for nice terminal layouts. Built with TUIs in mind.
Ported from/Inspired by: <https://github.com/charmbracelet/lipgloss/tree/master>
Expand All @@ -9,8 +9,6 @@ If you're a Go developer, please check out their CLI tooling and libraries. They

For bugs and todos, see the bottom of the readme. At the moment, characters with a printable length greater than 1 ARE NOT supported.

NOTE: This does not work on Mojo 24.2, you must use the nightly build for now. This will be resolved in the next Mojo release.

![Mog example](https://github.com/thatstoasty/mog/blob/main/layout.png)

Mog takes an expressive, declarative approach to terminal rendering.
Expand Down
2 changes: 1 addition & 1 deletion external/hue/__init__.mojo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .color import RGB
from .color import Color
Loading

0 comments on commit 125ed87

Please sign in to comment.