Skip to content

Commit

Permalink
fix(contributor-workflow): Adjust prebuild commands on gitpod (redwoo…
Browse files Browse the repository at this point in the history
…djs#3257)

* Adjust prebuild commands

* Specify path for redwood before build test project

* Improve terminal messaging
  • Loading branch information
dac09 authored Aug 20, 2021
1 parent 93fdd45 commit 0674071
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,21 @@ tasks:
- name: Terminal
openMode: split-left
init: |
mkdir ../rw-test-app
mkdir /workspace/rw-test-app
command: |
cd ../rw-test-app
echo -e "\n\n\033[94m ======================================================" && echo -e "\n\033[33mThe test project been linked. If you make further changes to the framework..." && echo -e "\033[33mRun \033[92m'yarn rwfw project:sync'\033[33m to watch & sync changes into the test project" && echo -e "\n\033[94m ======================================================\n\n"
cd /workspace/rw-test-app
echo -e "\n\n\033[94m ======================================================" && echo -e "\n\033[33m ⌛ Please wait until the dev server is running on the right-side terminal. \n "rw-test-app" is being generated & linked with latest framework code. \n\nIf you make further changes to the framework..." && echo -e "\033[33mRun \033[92m'yarn rwfw project:sync'\033[33m to watch & sync changes into the test project" && echo -e "\n\033[94m ======================================================\n\n"
- name: "Dev Servers"
openMode: split-right
before: export RW_PATH="/workspace/redwood"
init: |
cd /workspace/redwood
yarn install
yarn run build:test-project ../rw-test-app --typescript --link --verbose
command: |
cd ../rw-test-app
cd /workspace/rw-test-app
yarn rw dev
Expand Down

0 comments on commit 0674071

Please sign in to comment.