diff options
author | Aoi Koizumi <novaburst@kalli.st> | 2022-04-29 10:06:13 -0300 |
---|---|---|
committer | Aoi Koizumi <novaburst@kalli.st> | 2022-04-29 10:06:13 -0300 |
commit | 09bb2854478e552523c15de6f80c9f92d71376a3 (patch) | |
tree | 687a026d177e28e25f47ba7c200164b7b0b67ef6 /gph/8dad34db.txt | |
parent | d13dfdbdd6f8f10552d744cdb137390e7a8dabf6 (diff) | |
download | mirror-world-09bb2854478e552523c15de6f80c9f92d71376a3.tar.gz |
Moving git host yet again galaxy
Diffstat (limited to 'gph/8dad34db.txt')
-rw-r--r-- | gph/8dad34db.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gph/8dad34db.txt b/gph/8dad34db.txt new file mode 100644 index 0000000..07ff3f4 --- /dev/null +++ b/gph/8dad34db.txt @@ -0,0 +1,21 @@ +ID: 8dad34db-ac42-4c04-bcd9-b5dc363bce3f +Title: Automating package builds +Authors: Nova[有線魔女] <novaburst@envs.net> +Date: 2021-06-25T11:05:33-00:00 +Topics: Computing + +Out of boredom, while testing stuff on my local aports tree, I wrote a shell script to automate package builds , which is just a simple 'for' loop that does the actual job. + +Basically so I wouldn't have to type the commands manually each time I wanted to build a package from my tree. Currently it's on experimental phase and shouldn't be used on production. + +These lines below this text are the contents of the script , which kind of self-explanates itself. Currently only tested on the 'main' directory of the tree, mostly because there are barely any build scripts on the other directories. + +'#!/bin/sh + for package in $(find . -type d | grep -v pkg | grep -v src); do + cd $package + abuild -r + cd $OLDPWD + done +' +* [2021-09-09] That snippet is no longer used and was therefore discontinued, after I wrote a saner approach, combined with +makefiles to achieve automation |