Skip to content

Commit

Permalink
Init repo Unix script
Browse files Browse the repository at this point in the history
  • Loading branch information
Leinnan committed May 14, 2024
1 parent b31dc04 commit dce552e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions beam_init_repo.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

# Copy the Sandbox plugin over to the plugin folder.
# This is a local-only plugin that you can do whatever you want in.
# It is not committed to the repo and it is the default plugin configured to load
# (this means the repo won't work unless you run this script exactly once first).

SANDBOX_PROJ_NAME="BEAMPROJ_Sandbox"
PLUGIN_SANDBOX_PATH="$(pwd)/Plugins/$SANDBOX_PROJ_NAME"
TEMPLATE_SANDBOX_PATH="$(pwd)/Templates/Plugins/$SANDBOX_PROJ_NAME"

mkdir -p "$PLUGIN_SANDBOX_PATH"
cp -r "$TEMPLATE_SANDBOX_PATH"/* "$PLUGIN_SANDBOX_PATH"


# Copy the BuildConfiguration.xml into the saved directory so that we correctly generate intellisense data with rider
BUILD_CONFIG_PATH="$(pwd)/Saved/UnrealBuildTool"
TEMPLATE_BUILD_CONFIG_PATH="$(pwd)/Templates/Saved/UnrealBuildTool"

mkdir -p "$BUILD_CONFIG_PATH"
cp -r "$TEMPLATE_BUILD_CONFIG_PATH"/* "$BUILD_CONFIG_PATH"

0 comments on commit dce552e

Please sign in to comment.