Skip to content

Commit

Permalink
Replace harcoded 'mac' build mode with argument when building idea fi…
Browse files Browse the repository at this point in the history
…le for Intellij

Summary:
Replace harcoded 'mac' build mode with argument when building idea file for Intellij.
Reason: When using Intellij Gateway remotely, I need to run these scripts on my dev machine which is running on linux.

Reviewed By: avalonalex

Differential Revision: D61740687

fbshipit-source-id: 249c465218dd44d02eb12504f15d74bca8a9bed4
  • Loading branch information
Camile Dahdah authored and facebook-github-bot committed Aug 24, 2024
1 parent 2a4fbc5 commit e6eab22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion thrift/lib/java/script/create-intellij-project
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

set -e

MODE_FILES=$1

javafoundations/scripts/create-idea-project \
--mode-files "mac" \
--mode-files "$MODE_FILES" \
--project-root=thrift/lib/java \
//thrift/lib/java/benchmarks:benchmarks \
//thrift/lib/java/common:common \
Expand Down

0 comments on commit e6eab22

Please sign in to comment.