Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moose
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sahil Moza
moose
Commits
9a7917a1
Commit
9a7917a1
authored
8 years ago
by
Dilawar Singh
Browse files
Options
Downloads
Patches
Plain Diff
better script.
parent
2fed9a35
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
packaging_scripts/create_dmg_image_using_brew.sh
+5
-5
5 additions, 5 deletions
packaging_scripts/create_dmg_image_using_brew.sh
with
5 additions
and
5 deletions
packaging_scripts/
build
_dmg_image_using_brew.sh
→
packaging_scripts/
create
_dmg_image_using_brew.sh
+
5
−
5
View file @
9a7917a1
...
...
@@ -20,8 +20,8 @@ export HOMEBREW_BUILD_FROM_SOURCE=YES
## This is not needed. Forgot why I put it here in first place.
#CFLAGS+=-march=native
APPNAME
=
"M
oose
"
VERSION
=
"3.
0
.2"
APPNAME
=
"M
OOSE
"
VERSION
=
"3.
1
.2"
MAC_NAME
=
`
sw_vers
-productVersion
`
PKGNAME
=
"
${
APPNAME
}
_
${
VERSION
}
"
...
...
@@ -73,18 +73,18 @@ export PATH=${BREW_PREFIX}/bin:$PATH
(
cd
$BREW_PREFIX
if
[
!
-f
$BREW_PREFIX
/bin/brew
]
;
then
curl
-L
https://github.com/Homebrew/homebrew/tarball/master |
\
tar
xz
--strip
1
-C
$BREW_PREFIX
curl
-L
https://github.com/Homebrew/homebrew/tarball/master |
tar
xz
--strip
1
-C
$BREW_PREFIX
else
echo
"[I] Brew exists. Not installing"
fi
echo
"Copying moose.rb and moogli.rb"
cp
$CURRDIR
/../macosx/
*
.rb
$BREW_PREFIX
/Library/Formula/
rsync
-azv
--progress
$CURRDIR
/../macosx/
*
.rb
$BREW_PREFIX
/Library/Formula/
# This even works without python.
## NOTE: DO NOT install matplotlib using brew unless also installing python
## using brew. Since we are going to uninstall later, use pip to install
## matplotlib and numpy.
$BREW
update
$BREW
-v
install
homebrew/python/matplotlib
--with-pyqt
$BREW
-v
install
homebrew/python/numpy
$BREW
link
--overwrite
matplotlib
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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