Commit Graph

11 Commits (master)

Author SHA1 Message Date
Philippe Pittoli 5ce3856eb9 Minor changes: comments in instructions.cr 2021-03-09 17:57:47 +01:00
Philippe Pittoli c8ff92b508 New package-create version. See more in git log.
This new version has a new code structure:
- context now has (configure|building|install)_backends attributes
- Package::Instructions now only is a wrapper around Array(String)
  with a phase name and a 'run' method
- new phases, with total user control through recipes:
  source-split, (pre-)?(configure|build|install) and post-install
- Do.cp

Misc:
- baguette backend removes the data.tar before processing the manifest
- new '-doc' split
- check for `bsdtar` in the PATH before doing anything
- logs are way more verbose
2021-03-09 17:51:51 +01:00
Philippe Pittoli e218282594 Comments, grooming, new phases (src-split, pre- and post-) 2021-03-03 05:21:54 +01:00
Philippe Pittoli 8392363d49 Massive refactoring. See more in git log.
This refactoring includes:
- the use of baguette-crystal-base (Baguette::Log, Baguette::Context for verbosity and logfile)
- moving configure, build, install and splits backends into dedicated files
- removing a lot of code from Package::Context (it was a mess, still kinda is)
- fix 32-bit integer bug from APK backend
- some API changes in packaging backends to remove the context instance
  it was replaced by two parameters: package directory and architecture
- Baguette, APK and PkgUtils now share (kinda) the same coding style
2021-03-02 15:42:17 +01:00
Luka Vandervelden 6fb2715267 Improved error reporting a bit. 2019-08-16 14:55:25 +02:00
Luka Vandervelden 1ab90c25ec More debug. 2019-08-13 15:08:48 +02:00
Luka Vandervelden 5973687855 Instruction uses all of its entries. 2019-07-21 15:24:30 +02:00
Luka Vandervelden e6645e4f3d Grooming. 2019-07-03 03:48:31 +02:00
Luka Vandervelden ed2a48ca58 Grooming, Context#run. 2019-07-02 19:45:33 +02:00
Luka Vandervelden 0a565ebb26 PoC automatic building. 2019-07-02 08:47:11 +02:00
Luka Vandervelden 928559f71f Initial commit. 2019-07-02 03:52:19 +02:00