Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Engineering Digital Service
Metabase
Commits
2c9d11c8
Commit
2c9d11c8
authored
8 years ago
by
Cam Saül
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix OS X build/release steps
[ci skip]
parent
09e004f7
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
docs/developers-guide-osx.md
+23
-2
23 additions, 2 deletions
docs/developers-guide-osx.md
with
23 additions
and
2 deletions
docs/developers-guide-osx.md
+
23
−
2
View file @
2c9d11c8
...
...
@@ -12,11 +12,29 @@
# Fetch and initialize git submodule
git submodule update --init
# Install libcurl (needed by WWW::Curl::Simple)
# Upgrade Perl
brew install perl
# Add new version of perl to your $PATH
# (replace "5.24.0_1" below with whatever version you installed)
echo 'export PATH="/usr/local/Cellar/perl/5.24.0_1/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
# Double-check that we're using the newer version of CPAN
# (If this is your first time running CPAN, use the default config settings when prompted)
cpan --version # You should see a line like "running under Perl version 5.24.0."
# Install libcurl (needed by WWW::Curl::Simple) (I think)
brew install curl && brew link curl --force
# The new version of LLVM is snippy so have CPAN pass the Makefiles a flag that will tell it not to barf
sed -i -e "s/'make_arg' => q
\[\]
/'make_arg' => q
\[
CCFLAGS=
\"
-Wno-return-type
\"\]
/" ~/.cpan/CPAN/MyConfig.pm
# Install Perl modules used by ./setup and ./release
sudo cpan install File::Copy::Recursive JSON Readonly String::Util Text::Caml WWW::Curl::Simple
cpan install File::Copy::Recursive JSON Readonly String::Util Text::Caml WWW::Curl::Simple
# Fix script not using updated version of Perl
sed -i -e 's!usr/bin/perl!usr/bin/env perl!' ./bin/osx-setup
# Copy JRE and uberjar
./bin/osx-setup
...
...
@@ -51,6 +69,9 @@ You'll probably also want an Apple Developer ID Application Certificate in your
After that, you are good to go:
```
bash
# Fix script not using updated version of Perl
sed -i -e 's!usr/bin/perl!usr/bin/env perl!' ./bin/osx-release
# Bundle entire app, and upload to s3
./bin/osx-release
```
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