Skip to content
Snippets Groups Projects
Commit 6341b729 authored by Sameer Al-Sakran's avatar Sameer Al-Sakran
Browse files

[skip ci] this seems to clean things up 2

parent 3a0a21d1
No related branches found
No related tags found
No related merge requests found
...@@ -26,27 +26,27 @@ NOTE: These instructions are only for packaging a built Metabase uberjar into `M ...@@ -26,27 +26,27 @@ NOTE: These instructions are only for packaging a built Metabase uberjar into `M
4. Next, you'll need to run the following commands before building the app: 4. Next, you'll need to run the following commands before building the app:
```bash ```bash
# Fetch and initialize git submodule # Fetch and initialize git submodule
git submodule update --init git submodule update --init
# Install libcurl (needed by WWW::Curl::Simple (I think)) # Install libcurl (needed by WWW::Curl::Simple (I think))
brew install curl && brew link curl --force brew install curl && brew link curl --force
# The new version of LLVM is snippy so have CPAN pass compiler flags to fix errors # The new version of LLVM is snippy so have CPAN pass compiler flags to fix errors
# (Make sure this file exists first. If you didn't upgrade Perl in the step above, # (Make sure this file exists first. If you didn't upgrade Perl in the step above,
# it might be in a different location; perhaps called "Config.pm". # it might be in a different location; perhaps called "Config.pm".
# You may need to run "cpan" (no arguments) to generate an appropriate initial config. # You may need to run "cpan" (no arguments) to generate an appropriate initial config.
# As above, you can go with the defaults). # As above, you can go with the defaults).
sed -i '' -e "s/'make_arg' => q\[\]/'make_arg' => q\[CCFLAGS=\"-Wno-return-type\"\]/" ~/.cpan/CPAN/MyConfig.pm sed -i '' -e "s/'make_arg' => q\[\]/'make_arg' => q\[CCFLAGS=\"-Wno-return-type\"\]/" ~/.cpan/CPAN/MyConfig.pm
# Install Perl modules used by ./bin/osx-setup and ./bin/osx-release # Install Perl modules used by ./bin/osx-setup and ./bin/osx-release
# You may have to run this as sudo if you didn't upgrade perl as described in step above # You may have to run this as sudo if you didn't upgrade perl as described in step above
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
# Copy JRE and uberjar # Copy JRE and uberjar
./bin/osx-setup ./bin/osx-setup
``` ```
`./bin/osx-setup` will build run commands to build the uberjar for you if needed. `./bin/osx-setup` will build run commands to build the uberjar for you if needed.
Run `./bin/osx-setup` again at any time in the future to copy the latest version of the uberjar into the project. Run `./bin/osx-setup` again at any time in the future to copy the latest version of the uberjar into the project.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment