2020-06-23 01:13:20 +00:00
|
|
|
#!/usr/bin/fish
|
|
|
|
function buildme
|
2020-06-23 01:22:42 +00:00
|
|
|
echo Now building (basename $argv)
|
2020-06-23 01:13:20 +00:00
|
|
|
cd $argv
|
2021-01-24 19:00:11 +00:00
|
|
|
make
|
2020-12-06 00:07:05 +00:00
|
|
|
sudo eopkg it --reinstall (basename $argv)*.eopkg
|
2020-06-23 01:13:20 +00:00
|
|
|
cd ..
|
|
|
|
end
|
|
|
|
|
|
|
|
cd (dirname (realpath (status -f)))
|
|
|
|
|
2021-01-24 19:00:11 +00:00
|
|
|
set profile "-punstable-x86_64"
|
2020-12-23 20:43:55 +00:00
|
|
|
sudo solbuild init $profile
|
|
|
|
sudo solbuild update $profile
|
2020-11-26 07:04:46 +00:00
|
|
|
|
2020-06-23 01:13:20 +00:00
|
|
|
if test "$argv"
|
|
|
|
for i in $argv
|
|
|
|
buildme $i
|
|
|
|
end
|
|
|
|
else
|
2020-11-26 07:04:46 +00:00
|
|
|
sudo ./build (cat list)
|
2020-06-23 01:13:20 +00:00
|
|
|
end
|