1
0
Fork 0
mirror of https://github.com/Phantop/solus-stuff synced 2024-11-22 06:43:29 +00:00
solus-stuff/build
2020-12-05 19:07:05 -05:00

22 lines
350 B
Fish
Executable file

#!/usr/bin/fish
function buildme
echo Now building (basename $argv)
cd $argv
sudo solbuild build package.yml -d
sudo eopkg it --reinstall (basename $argv)*.eopkg
cd ..
end
cd (dirname (realpath (status -f)))
sudo solbuild init
if test "$argv"
for i in $argv
buildme $i
end
else
sudo ./build (cat list)
end