Skip to content

Commit

Permalink
Reorganise crate modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter554 committed Nov 25, 2023
1 parent c0a368e commit 990cf52
Show file tree
Hide file tree
Showing 65 changed files with 7,325 additions and 926 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: CI
on:
push:
branches:
- master
- 'dev.*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install taskfile
run: sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
- name: Check
run: task check
140 changes: 140 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ edition = "2021"

[dependencies]
anyhow = "1.0.75"
maplit = "1.0.2"
ouroboros = "0.18.0"
pathfinding = "4.3.3"
rayon = "1.8.0"
rustpython-parser = "0.3.0"
thiserror = "1.0.50"
29 changes: 29 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: '3'

tasks:
test:
cmds:
- cargo test

clippy:
cmds:
- cargo clippy --all-targets -- -D warnings

clippy.fix:
cmds:
- cargo clippy --fix --allow-staged

fmt:
cmds:
- cargo fmt

fmt.check:
cmds:
- cargo fmt --check


check:
cmds:
- task: test
- task: clippy
- task: fmt.check
25 changes: 0 additions & 25 deletions example/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion example/a.py

This file was deleted.

23 changes: 0 additions & 23 deletions example/child/__init__.py

This file was deleted.

Empty file removed example/child/c_b.py
Empty file.
1 change: 0 additions & 1 deletion example/child/c_c.py

This file was deleted.

1 change: 0 additions & 1 deletion example/child/c_d.py

This file was deleted.

23 changes: 0 additions & 23 deletions example/child/c_z.py

This file was deleted.

1 change: 0 additions & 1 deletion example/d.py

This file was deleted.

23 changes: 0 additions & 23 deletions example/z.py

This file was deleted.

Loading

0 comments on commit 990cf52

Please sign in to comment.