na4zagin3 / satyrographos

Package manager for SATySFi
GNU Lesser General Public License v3.0
44 stars 13 forks source link

Glob/pattern for package/font/doc file sections #64

Closed na4zagin3 closed 4 years ago

na4zagin3 commented 4 years ago

Without globbing or patterns, it’s messy to describe a module with bunch of packages https://github.com/na4zagin3/satyrographos-repo/pull/33

We need globbing or patterns.

;; Makefile style
(package "src/%.satyh" "submodule/%.satyh")

;; Regex style
(package "src/(.*).satyh" "submodule/\1.satyh")

;; Disallowing file renaming
(package "src/(.*).satyh" submodule)

;; Disallowing file restructuring
(module "src" submodule)
na4zagin3 commented 4 years ago

Another option:

;; Package source dir
(package-dir "src")
na4zagin3 commented 4 years ago

I decided to add (packageDir "src") and (fontDir "fonts").