kisslinux / kiss

KISS Linux - Package Manager
https://kisslinux.github.io
MIT License
464 stars 62 forks source link

Make kiss build more scriptable #265

Closed jedahan closed 3 years ago

jedahan commented 3 years ago

Description

I would like to only build packages, not install.

This is for running a build server, testing, and scripting the package manager.

KISS_PROMPT=0 will auto-install, and kiss build somepackage will wait for user input.

Ideas

Ideally, kiss build would only build a package, and not prompt for install.

If kiss install did the equivalent of today's KISS_PROMPT=0 kiss build then we could remove that use case for kiss install which would simplify things and make kiss friendlier with other scripts.

dylanaraps commented 3 years ago

I may do what you suggest (build == build only).

dylanaraps commented 3 years ago

This commit should get you up and running for now at least.

dylanaraps commented 3 years ago

Pushed a less intrusive fix (at least for now). Simply making KISS_PROMPT=0 skip the post-build prompt entirely.