Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
4fa1fcb3
Unverified
Commit
4fa1fcb3
authored
Dec 11, 2024
by
Antoine Kaufmann
Browse files
symphony: add symphony-publish target
parent
3bac806e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
symphony/rules.mk
symphony/rules.mk
+12
-4
No files found.
symphony/rules.mk
View file @
4fa1fcb3
...
...
@@ -23,7 +23,9 @@
include
mk/subdir_pre.mk
SYMPHONY_DIR
:=
$(d)
/
SYMPHONY_MODS
:=
cli
local
runtime client orchestration runner utils
SYMPHONY_MODS
:=
utils orchestration client cli runtime runner
local
SYMPHONY_PUBLICATION_REPO
?=
testpypi
symphony-dev
:
pip
install
-r
$(base_dir)
requirements.txt
...
...
@@ -32,10 +34,16 @@ symphony-dev:
symphony-build
:
for
m
in
$(SYMPHONY_MODS)
;
do
\
(
cd
$(SYMPHONY_DIR)$$
m
&&
\
poetry build
-o
../dist/
)
;
\
poetry build
)
;
\
done
symphony-publish
:
for
m
in
$(SYMPHONY_MODS)
;
do
\
(
cd
$(SYMPHONY_DIR)$$
m
&&
\
poetry publish
-r
$(SYMPHONY_PUBLICATION_REPO)
)
;
\
done
.PHONY
:
symphony-dev symphony-build
.PHONY
:
symphony-dev symphony-build
symphony-publish
CLEAN
:=
$(
SYMPHONY_DIR)
dist
CLEAN
:=
$(
addsuffix
/dist,
$(
addprefix
$(SYMPHONY_DIR)
,
$(SYMPHONY_MODS)
))
include
mk/subdir_post.mk
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