Compare commits
5 commits
0c93b45e94
...
4958d93f6c
Author | SHA1 | Date | |
---|---|---|---|
4958d93f6c | |||
af9842aa9e | |||
1eed2fdeba | |||
3e751ac9e1 | |||
ddab774cf6 |
4 changed files with 46 additions and 19 deletions
18
.forgejo/workflows/main.yaml
Normal file
18
.forgejo/workflows/main.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
job:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ${{vars.DOCKER}}debian:bookworm
|
||||
steps:
|
||||
- name: spcd
|
||||
env:
|
||||
SPCD: ${{vars.SPCD}}
|
||||
SPCD_SSH_HOSTS: ${{vars.SPCD_SSH_HOSTS}}
|
||||
SPCD_SSH_KEY: ${{secrets.SPCD_SSH_KEY}}
|
||||
SPCD_TXT_LOCALE: ${{vars.SPCD_TXT_LOCALE}}
|
||||
run: ${{vars.SPCD}}
|
||||
|
||||
- run: spcd-build-project
|
||||
- run: spcd-browse-workspace
|
||||
- run: spcd-synchronize
|
|
@ -1,4 +1,4 @@
|
|||
__version__ = '0.0.0'
|
||||
__version__ = '0.0.1'
|
||||
|
||||
import sys
|
||||
|
||||
|
|
|
@ -1,34 +1,32 @@
|
|||
[build-system]
|
||||
requires = ['hatchling']
|
||||
build-backend = 'hatchling.build'
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
authors = [
|
||||
{ name = 'Marc Beninca', email = 'git@marc.beninca.link' },
|
||||
{ name = "Marc Beninca", email = "git@marc.beninca.link" },
|
||||
]
|
||||
maintainers = [
|
||||
{ name = 'Marc Beninca', email = 'git@marc.beninca.link' },
|
||||
{ name = "Marc Beninca", email = "git@marc.beninca.link" },
|
||||
]
|
||||
classifiers = [
|
||||
'Programming Language :: Python :: 3',
|
||||
'License :: OSI Approved :: GNU Affero General Public License v3',
|
||||
'Operating System :: OS Independent',
|
||||
"Programming Language :: Python :: 3",
|
||||
"License :: OSI Approved :: GNU Affero General Public License v3",
|
||||
"Operating System :: OS Independent",
|
||||
]
|
||||
dependencies = [
|
||||
'rwx',
|
||||
]
|
||||
description = 'Operating File System Profile'
|
||||
dynamic = ['version']
|
||||
dependencies = ["rwx"]
|
||||
description = "Operating File System Profile"
|
||||
dynamic = ["version"]
|
||||
keywords = []
|
||||
license-files = { paths = ['license.md'] }
|
||||
name = 'ofsp'
|
||||
readme = 'readme.md'
|
||||
requires-python = '>= 3.10'
|
||||
license-files = ["license.md"]
|
||||
name = "ofsp"
|
||||
readme = "readme.md"
|
||||
requires-python = ">= 3.11"
|
||||
|
||||
[project.scripts]
|
||||
ofsp = 'ofsp:main'
|
||||
ofsp = "ofsp:main"
|
||||
|
||||
[project.urls]
|
||||
|
||||
[tool.hatch.version]
|
||||
path = 'ofsp/__init__.py'
|
||||
path = "ofsp/__init__.py"
|
||||
|
|
11
render.py
Executable file
11
render.py
Executable file
|
@ -0,0 +1,11 @@
|
|||
#! /usr/bin/env python3
|
||||
"""Dummy build."""
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from rwx.fs import make_directory, write
|
||||
|
||||
if __name__ == "__main__":
|
||||
out = Path(__file__).parent / "out" / "web"
|
||||
make_directory(out)
|
||||
write(out / "index.html", "ofsp.rwx.work")
|
Loading…
Add table
Add a link
Reference in a new issue