Open fanzhuyifan opened 7 months ago
yeah, this one is easy and will be "next TODO"!
Should be done in b656cb51868dddcf7e505ea77baf88f360b6bf6a
NOTICE: now there is a settings.toml file needed to be adapted!
Closing when confirmed :)
Looks good, but I am not sure how to install the chaotic
tool (on vanilla Arch)
Can you check out the latest commit ? Adapt in the settings.toml, the chaotic mkd
to makepkg .....
.
The command is called with one argument, which is the folder.
I added the file arch_builder_cmd_example.sh
as an example of such a script (making that file the build.cmd of settings.toml) (also, the file should be in the same folder as builder.nu)
The log file is needed:
#!/usr/bin/env bash
LOGFILE="$(pwd)/$1.log"
cd "$1"
makepkg -s -f -i | tee "$LOGFILE"
Tried builder.nu. It doesn't seem to be honoring the build and archive settings. The locks setting seems honored. Otherwise works fine.
will check those out. I also noticed, testing it on my local machine, that it would be cool to "use" the previous builds (of course, this is unacceptable for chaotic).
and
should also be updated.
that line at 115, it should run the command set in settings file, so it is not running "chaotic mkd".
Currently most paths in the shell scripts are hard coded absolute paths, making it difficult for users to run those from different folders.