Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
inary
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
1
Konular (issue)
1
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
inary
Commits
364d40b3
Kaydet (Commit)
364d40b3
authored
Ock 20, 2021
tarafından
Your Name
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix parameter and information message
üst
4e685a78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
inary-template
scripts/inary-template
+12
-2
No files found.
scripts/inary-template
Dosyayı görüntüle @
364d40b3
...
...
@@ -13,6 +13,7 @@ err_msg(){
echo
" -n package name (required)"
echo
" -x build package after create"
echo
" -y do not ask anything"
echo
" -z do not generate pspec and actions"
echo
" -h write help message"
echo
" Actions options:"
echo
" -t build type (default: autotools)"
...
...
@@ -29,7 +30,7 @@ err_msg(){
echo
" -d package description"
echo
" -b build dependencies list"
echo
" -a package source archive list (required)"
echo
" -q
rfp status [true/false] (default true)
"
echo
" -q
disable rfp status
"
echo
" -qq rfp description"
echo
" Package section:"
echo
" -r runtime dependencies list"
...
...
@@ -57,6 +58,7 @@ rfp=true
bnow
=
false
confopt
=
""
forceyes
=
""
dummy
=
""
#opt parse
while
getopts
--
':o:n:t:c:p:u:e:l:i:s:d:b:a:r:v:q:qq:'
OPTION
;
do
case
"
$OPTION
"
in
...
...
@@ -147,6 +149,9 @@ while getopts -- ':o:n:t:c:p:u:e:l:i:s:d:b:a:r:v:q:qq:' OPTION; do
x
)
bnow
=
"true"
;;
z
)
dummy
=
"true"
;;
*
)
inf_msg
err_msg
...
...
@@ -309,7 +314,7 @@ EOF
# Write info after creating
info
"Package name"
"
$name
"
info
"Output directory"
"
$(
realpath
$directory
)
"
info
"Package version"
"
$ver
sion
"
info
"Package version"
"
$ver
"
info
"Homepage"
"
$homepage
"
info
"Packager"
"
$packager
"
info
"Email"
"
$email
"
...
...
@@ -327,6 +332,11 @@ if [ "$forceyes" == "" ] ; then
exit
fi
fi
if
[
"
$dummy
"
==
"true"
]
;
then
echo
"Do not create pspec and actions. If you wanna create, you must remove -z parameter."
echo
" Operation canceled."
exit
fi
directory
=
$(
realpath
$directory
)
mkdir
-p
$directory
info
"Creating"
"pspec.xml to
$directory
/pspec.xml"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment