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
|
2020-11-25 19:57:36 +00:00
|
|
|
sudo solbuild build package.yml -d
|
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)))
|
|
|
|
|
2020-11-26 07:04:46 +00:00
|
|
|
sudo solbuild init
|
|
|
|
|
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
|