Fri Feb 20 08:27:53 PM CST 2026
This commit is contained in:
commit
afd7ad8104
10
.gitignore
vendored
Normal file
10
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
# Python-generated files
|
||||||
|
__pycache__/
|
||||||
|
*.py[oc]
|
||||||
|
build/
|
||||||
|
dist/
|
||||||
|
wheels/
|
||||||
|
*.egg-info
|
||||||
|
|
||||||
|
# Virtual environments
|
||||||
|
.venv
|
||||||
1
.python-version
Normal file
1
.python-version
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
3.12
|
||||||
13
justfile
Normal file
13
justfile
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
default: gitCommit
|
||||||
|
|
||||||
|
rootTest := if shell("id -u") == "0" {error("Cannot run as root")} else {""}
|
||||||
|
|
||||||
|
gitCommit:
|
||||||
|
{{rootTest}}
|
||||||
|
git -P diff -U0
|
||||||
|
# date_msg:=$(date)
|
||||||
|
git add .
|
||||||
|
if ! git diff-index --quiet HEAD; then git commit -m "{{shell("date")}}" ; fi
|
||||||
|
|
||||||
|
uvrun: gitCommit
|
||||||
|
uv run main.py
|
||||||
6
main.py
Normal file
6
main.py
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
def main():
|
||||||
|
print("Hello from sdr-test!")
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
7
pyproject.toml
Normal file
7
pyproject.toml
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
[project]
|
||||||
|
name = "sdr-test"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "Add your description here"
|
||||||
|
readme = "README.md"
|
||||||
|
requires-python = ">=3.12"
|
||||||
|
dependencies = []
|
||||||
Loading…
Reference in a new issue