Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Commits
7fbc3301
Commit
7fbc3301
authored
4 years ago
by
Daniel Lyons
Browse files
Options
Downloads
Patches
Plain Diff
Another try... again...
parent
dbc13232
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+14
-15
14 additions, 15 deletions
Makefile
with
14 additions
and
15 deletions
Makefile
+
14
−
15
View file @
7fbc3301
CONDA_ROOT
:=
$(
realpath
$(
CONDA_EXE
)
/../..
)
all
:
dev metadata build
all
:
update-dev metadata build
.PHONY
:
miniconda-installed
miniconda-installed
:
@
[
"
${
CONDA_ROOT
}
"
!=
"/"
]
||
(
echo
"Please install miniconda"
;
exit
1
)
.PHONY
:
update-dev
update-dev
:
miniconda-installed environment.yml
conda
env
update
touch
$@
.PHONY
:
check-conda
check-conda
:
@
[
"
${
CONDA_EXE
}
"
!=
""
]
||
\
(
echo
"Conda does not appear to be installed; please install it and try again"
;
exit
1
)
@
[
"
${
CONDA_PREFIX
}
"
!=
""
]
||
\
(
echo
"Conda does not appear to be active; please activate 'data' and try again"
;
exit
1
)
@
[
"
${
CONDA_DEFAULT_ENV
}
"
==
"data"
]
||
\
(
echo
"Wrong conda environment '
${
CONDA_DEFAULT_ENV
}
' appears to be active; please deactivate, activate 'data' and try again"
;
exit
1
)
.PHONY
:
metadata
metadata
:
...
...
@@ -23,11 +21,12 @@ build:
test
:
buildout
parts
=
test
name
=
all
.PHONY
:
conda-active
conda
-active
:
update
-dev
conda activate data
${CONDA_PREFIX}
:
environment.yml
conda
env
update
touch
$@
dev
:
conda-active
.PHONY
:
dev
dev
:
check-conda ${CONDA_PREFIX}
for
dir
in
shared/
{
schema,workspaces,channels
}
services/
{
workflow,capability
}
apps/cli/utilities/wf_monitor
;
do
\
pushd
$$
dir
;
\
python setup.py develop
;
\
...
...
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