enso/run
Nikita Pekin bd455ffabd
feat(183557950): Add ProjectsGrid View for Cloud Dashboard (#3857)
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.
2022-12-04 05:41:56 +01:00

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" $@