Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
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
schwede
openstructure
Commits
a6c03742
Commit
a6c03742
authored
14 years ago
by
Marco Biasini
Browse files
Options
Downloads
Patches
Plain Diff
add --dmg option to deploy script
parent
8d7e8ce2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deployment/macos/deploy.py
+7
-3
7 additions, 3 deletions
deployment/macos/deploy.py
with
7 additions
and
3 deletions
deployment/macos/deploy.py
+
7
−
3
View file @
a6c03742
...
...
@@ -9,6 +9,7 @@ p.add_option('--bundle', action='store_true', default=False)
p
.
add_option
(
'
--no_rpath
'
,
action
=
'
store_true
'
,
default
=
False
)
p
.
add_option
(
'
--macports_workaround
'
,
action
=
'
store_true
'
,
default
=
False
)
p
.
add_option
(
'
--dmg
'
,
action
=
'
store_true
'
,
default
=
False
)
opts
,
args
=
p
.
parse_args
()
deps
.
make_standalone
(
'
../../stage
'
,
'
standalone
'
,
True
,
opts
.
no_rpath
,
...
...
@@ -18,6 +19,9 @@ if os.path.exists('DNG.app'):
bundle
.
create_bundle
(
'
DNG
'
,
opts
.
bundle
)
if
opts
.
bundle
:
shutil
.
copytree
(
'
../../examples
'
,
'
DNG.app/Contents/examples
'
)
os
.
system
(
'
rm `find DNG.app/Contents/examples/ -name
"
*.pyc
"
`
'
)
os
.
system
(
'
rm -rf DNG.app/Contents/examples/harmony
'
)
os
.
system
(
'
rm -rf DNG.app/Contents/examples/dokk
'
)
\ No newline at end of file
os
.
system
(
'
rm `find DNG.app/Contents/examples/ -name
"
*.pyc
"
` 2> /dev/null
'
)
os
.
system
(
'
rm -rf DNG.app/Contents/examples/demos/harmony
'
)
os
.
system
(
'
rm -rf DNG.app/Contents/examples/demos/dokk
'
)
if
opts
.
dmg
:
os
.
system
(
'
rm -rf openstructure.dmg
'
)
os
.
system
(
'
hdiutil create -srcFolder DNG.app openstructure.dmg
'
)
\ 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