Screenshot from Wild and Horned Hermit

mirror:world 「鏡:世界」

これは私の個人的な日記です

キャンセルされることはあるかもしれないが、黙ることは決してない

If you are reading this diary through a smartphone, do remember that you cannot have choice on those devices, because no matter how much Free Software you use on them, Google (or Apple) still prevail over what you do.

See stopsmaho.076.moe for more information.

Title:
Automating package builds
Authors:
Izuru Yakumo
Date:
Topics:
Computing
Id:
8dad34db-ac42-4c04-bcd9-b5dc363bce3f

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



© 2020-present Izuru Yakumo

Generated with 小鈴 (Kosuzu, formerly Logarion)

Follow: Atom feedめいすきー

☰ ☱ ☲ ☳ ☴ ☵ ☶ ☷

Powered by stress