Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
minicoin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Levon Sargsyan
minicoin
Commits
6e9708c9
Commit
6e9708c9
authored
5 years ago
by
Volker Hilsheimer
Browse files
Options
Downloads
Patches
Plain Diff
Pass make target to job
parent
cec0b4ec
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
minicoin/jobs/build-project/main.cmd
+2
-3
2 additions, 3 deletions
minicoin/jobs/build-project/main.cmd
minicoin/jobs/build-project/main.sh
+4
-5
4 additions, 5 deletions
minicoin/jobs/build-project/main.sh
with
6 additions
and
8 deletions
minicoin/jobs/build-project/main.cmd
+
2
−
3
View file @
6e9708c9
...
@@ -22,13 +22,12 @@ echo Building '%projectpath%' into '%projectname%'
...
@@ -22,13 +22,12 @@ echo Building '%projectpath%' into '%projectname%'
mkdir
%projectname%
mkdir
%projectname%
if
exist
%USERPROFILE%
\make.bat
(
if
exist
%USERPROFILE%
\make.bat
(
call
%USERPROFILE%
\make.bat
%projectpath%
%projectname%
call
%USERPROFILE%
\make.bat
%projectpath%
%projectname%
!PARAM_make!
)
else
(
)
else
(
cd
%projectname%
cd
%projectname%
call
%USERPROFILE%
\qmake.bat
"
%projectpath%
"
call
%USERPROFILE%
\qmake.bat
"
%projectpath%
"
echo
Using
%MAKETOOL%
echo
Using
%MAKETOOL%
%MAKETOOL%
clean
%MAKETOOL%
!PARAM_make!
%MAKETOOL%
)
)
echo
Project
'
%projectname%
'
built
successfully
echo
Project
'
%projectname%
'
built
successfully
...
...
This diff is collapsed.
Click to expand it.
minicoin/jobs/build-project/main.sh
+
4
−
5
View file @
6e9708c9
...
@@ -8,16 +8,15 @@ if [[ $sources == "" ]]; then
...
@@ -8,16 +8,15 @@ if [[ $sources == "" ]]; then
exit
1
exit
1
fi
fi
echo
"Building project in
$sources
"
echo
"Building project in
'
$sources
'
"
project
=
$(
basename
$sources
)
project
=
$(
basename
$sources
)
mkdir
$project
>
/dev/null
mkdir
$project
>
/dev/null
2>&1
if
[[
-f
"
$HOME
/make"
]]
;
then
if
[[
-f
"
$HOME
/make"
]]
;
then
$HOME
/make
$sources
$project
$HOME
/make
$sources
$project
$PARAM_make
else
else
cd
$project
cd
$project
$HOME
/qmake
$sources
$HOME
/qmake
$sources
make clean
make
$PARAM_make
make
fi
fi
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment