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
e29ecece
Kaydet (Commit)
e29ecece
authored
Şub 06, 2020
tarafından
Ali Rıza Keskin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
build ile ilgili güvenlik önlemi
üst
6dcb5abf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
7 deletions
+19
-7
Makefile
Makefile
+11
-0
inary-spec.rng
inary-spec.rng
+5
-5
build.py
inary/operations/build.py
+3
-2
No files found.
Makefile
0 → 100644
Dosyayı görüntüle @
e29ecece
PREFIX
=
/
all
:
build install
clean
:
`
find |
grep
pycache |
sed
's/^/rm -rf /g'
`
rm
-rf
build
build
:
python3 setup.py build
install
:
python3 setup.py
install
--prefix
=
$(PREFIX)
install
inary-cli
$(PREFIX)
usr/bin/inary
inary-spec.rng
Dosyayı görüntüle @
e29ecece
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<ref
name=
"Icon"
/>
<ref
name=
"Icon"
/>
</optional>
</optional>
<optional>
<optional>
<ref
name=
"R
fp
"
/>
<ref
name=
"R
FP
"
/>
</optional>
</optional>
<zeroOrMore>
<zeroOrMore>
<ref
name=
"IsA"
/>
<ref
name=
"IsA"
/>
...
@@ -51,9 +51,9 @@
...
@@ -51,9 +51,9 @@
<!-- FIXME: should be oneOrMore -->
<!-- FIXME: should be oneOrMore -->
<ref
name=
"Description"
/>
<ref
name=
"Description"
/>
</zeroOrMore>
</zeroOrMore>
<o
neOrMore
>
<o
ptional
>
<ref
name=
"Archive"
/>
<ref
name=
"Archive"
/>
</o
neOrMore
>
</o
ptional
>
<optional>
<optional>
<ref
name=
"AdditionalFiles"
/>
<ref
name=
"AdditionalFiles"
/>
</optional>
</optional>
...
@@ -154,8 +154,8 @@
...
@@ -154,8 +154,8 @@
</define>
</define>
<!-- Rfp -->
<!-- Rfp -->
<define
name=
"
Icon
"
>
<define
name=
"
RFP
"
>
<element
name=
"
Icon
"
>
<element
name=
"
RFP
"
>
<text/>
<text/>
</element>
</element>
</define>
</define>
...
...
inary/operations/build.py
Dosyayı görüntüle @
e29ecece
...
@@ -377,7 +377,7 @@ class Builder:
...
@@ -377,7 +377,7 @@ class Builder:
def
get_build_types
(
self
):
def
get_build_types
(
self
):
ignored_build_types
=
\
ignored_build_types
=
\
ctx
.
config
.
values
.
build
.
ignored_build_types
.
split
(
","
)
ctx
.
config
.
values
.
build
.
ignored_build_types
.
split
(
","
)
build_types
=
[
""
]
build_types
=
[]
packages
=
[]
packages
=
[]
for
package
in
self
.
spec
.
packages
:
for
package
in
self
.
spec
.
packages
:
...
@@ -391,7 +391,7 @@ class Builder:
...
@@ -391,7 +391,7 @@ class Builder:
packages
.
append
(
package
)
packages
.
append
(
package
)
self
.
spec
.
packages
=
packages
self
.
spec
.
packages
=
packages
build_types
.
append
(
""
)
return
build_types
return
build_types
def
set_build_type
(
self
,
build_type
):
def
set_build_type
(
self
,
build_type
):
...
@@ -407,6 +407,7 @@ class Builder:
...
@@ -407,6 +407,7 @@ class Builder:
# Each time a builder is created we must reset
# Each time a builder is created we must reset
# environment. See bug #2575
# environment. See bug #2575
os
.
environ
.
clear
()
inary
.
actionsapi
.
variables
.
initVariables
()
inary
.
actionsapi
.
variables
.
initVariables
()
env
=
{
"PKG_DIR"
:
self
.
pkg_dir
(),
env
=
{
"PKG_DIR"
:
self
.
pkg_dir
(),
...
...
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