Commit graph jw-pkg/scripts/jw-pkg-create-project.sh
Author SHA1 Message Date
77c746571a
scripts: Fix shellcheck errors
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m23s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m30s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 4m2s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m6s
CI / Packaging test (push) Successful in 0s
Fix shellcheck SC2068 (unquoted array expansions), SC2145 (mixed
string/array arguments), SC2328 (redirection in command
substitution), SC2173 (untrapable signals), and SC2148 (missing
shebang) errors across 14 script files.

Also configure scripts/Makefile with --severity=error so that only
errors (not warnings or notes) cause check failures. To be tightened
by follow-up commits.

Assisted-by: unsloth/Qwen3.6-35B-A3B-GGUF:IQ4_NL and pi.dev
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-29 17:52:24 +02:00
857efee225
jw-pkg-create-project.sh: Gitignore .cache-project.mk
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 3m15s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 3m19s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 3m20s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 3m11s
CI / Packaging test (push) Successful in 0s
Add make/.cache-project.mk to default the .gitignore file created by
make pkg-init-%.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-08 20:25:15 +02:00
8c5c98c95a
py-topdir.mk: Use pyright
py-topdir.mk: Use ruff and yapf

  - Use pyright for the target py-check-syntax

  - Generate a $(TOPDIR)/pyrightconfig.json for that

  - Add pyrightconfig-base.json because it's used by
    pyrightconfig.json

  - Add python3-pyright to pkg.requires.release, anticipating the use
    of the py-syntax-check target by CI

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-05-31 18:20:37 +02:00
36d854ce19
py-topdir.mk: Use ruff and yapf
- Use ruff and yapf for the targets py-check-syntax, py-format and
    py-check-format.

  - Add a pyproject.toml for those. It also includes configuration
    for isort, albeit not being directly used in the linter targets.

  - Make .gitignore igore that in newly created projects.

  - Add ruff, yapf and isort to pkg.requires.release, anticipating
    their use by CI.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-05-31 18:20:36 +02:00
9217d38964 Everywhere: Rename package "jw-build" to "jw-pkg"
jw-build doesn't stop at building software, packaging it afterwards
is also a core feature, so this commit gives the package a better
name.

The commit replaces strings s/jw-build/jw-pkg/ in text files and file
names. Fallout to the functionality is fixed, variable names are left
as they are, though. To be adjusted by later commits.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-28 13:35:56 +01:00
Renamed from scripts/jw-build-create-project.sh (Browse further)