From 2ffad537e7dc4e6d70a0873518d4c6a09a5c92fd Mon Sep 17 00:00:00 2001 From: Aoi Koizumi Date: Fri, 18 Mar 2022 17:19:55 -0300 Subject: Say "hello" 40 times to the place where you have tried salt at least once. Signed-off-by: Aoi Koizumi --- gmi/8dad34db.gmi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 gmi/8dad34db.gmi (limited to 'gmi/8dad34db.gmi') diff --git a/gmi/8dad34db.gmi b/gmi/8dad34db.gmi new file mode 100644 index 0000000..ae5f110 --- /dev/null +++ b/gmi/8dad34db.gmi @@ -0,0 +1,19 @@ +# Automating package builds +Authors: Nova[有線魔女] +Date: 2021 06 25 + +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 \ No newline at end of file -- cgit 1.4.1-2-gfad0