mirror of
https://github.com/enso-org/enso.git
synced 2024-11-22 22:10:15 +03:00
bd455ffabd
This PR is a draft PR while I learn EnsoGL. The eventual goal is to implement the projects list portion of the cloud dashboard in this PR. This PR will implement part of https://www.pivotaltracker.com/n/projects/2539513/stories/183557950 ### Important Notes This PR is still really rough and contains a lot of hacks & hard-coded values. The FRP usage is also likely to be suboptimal and need fixing.
13 lines
442 B
Bash
Executable File
13 lines
442 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e # Exit on error.
|
|
|
|
# Get the directory of the script, as per https://stackoverflow.com/a/246128
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
|
|
BIN_CRATE_NAME=enso-build-cli
|
|
TARGET_DIR="${SCRIPT_DIR}/target/enso-build/"
|
|
TARGET_EXE="${TARGET_DIR}buildscript/${BIN_CRATE_NAME}"
|
|
|
|
cargo build --profile buildscript --target-dir "$TARGET_DIR" --package ${BIN_CRATE_NAME}
|
|
"$TARGET_EXE" $@
|