-
-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor<gp>: make gitpod works with tauri (#197)
* refactor<gp>: make gitpod works with tauri * docs: update gitpod instruction
- Loading branch information
1 parent
9929f35
commit 1381f04
Showing
4 changed files
with
56 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,48 @@ | ||
--- | ||
# The image is needed so that every Gitpod Workspace comes with gitpod/workspace-full-vnc whenever they start it. | ||
image: | ||
file: .gitpod.Dockerfile | ||
file: Dockerfile | ||
|
||
# Now, there are specific tasks for dependencies, servers, noVNC, ports and even pre-builds so that you start without delay. | ||
tasks: | ||
- name: Yarn App Server | ||
init: echo "Starting app server" | ||
command: | | ||
yarn | ||
yarn dev | ||
- name: Yarn Docs Server | ||
init: echo "Starting docs server" | ||
command: | | ||
cd docs | ||
yarn | ||
yarn start | ||
- name: Yarn App Server | ||
init: echo "Starting app server" | ||
command: yarn && yarn dev | ||
- name: Yarn Docs Server | ||
init: echo "Starting docs server" | ||
command: cd docs && yarn && yarn start | ||
|
||
vscode: | ||
extensions: | ||
- kimlimjustin.jsdoc-generator | ||
|
||
- esbenp.prettier-vscode | ||
extensions: | ||
- kimlimjustin.jsdoc-generator | ||
|
||
- esbenp.prettier-vscode | ||
|
||
- orta.vscode-jest | ||
|
||
- orta.vscode-jest | ||
|
||
# Ports config | ||
ports: | ||
- port: 3000 | ||
onOpen: open-preview | ||
- port: 6080 | ||
onOpen: open-browser | ||
- port: 5900 | ||
onOpen: ignore | ||
- port: 3000 | ||
onOpen: open-preview | ||
- port: 6080 | ||
onOpen: open-browser | ||
- port: 5900 | ||
onOpen: ignore | ||
|
||
# GitHub Prebuilds | ||
github: | ||
prebuilds: | ||
# enable for the master/default branch (defaults to true) | ||
master: true | ||
# enable for all branches in this repo (defaults to false) | ||
branches: true | ||
# enable for pull requests coming from this repo (defaults to true) | ||
pullRequests: true | ||
# enable for pull requests coming from forks (defaults to false) | ||
pullRequestsFromForks: true | ||
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true) | ||
addComment: true | ||
# add a "Review in Gitpod" button to pull requests (defaults to false) | ||
addBadge: true | ||
# add a label once the prebuild is ready to pull requests (defaults to false) | ||
addLabel: prebuilt-in-gitpod | ||
prebuilds: | ||
# enable for the master/default branch (defaults to true) | ||
master: true | ||
# enable for all branches in this repo (defaults to false) | ||
branches: true | ||
# enable for pull requests coming from this repo (defaults to true) | ||
pullRequests: true | ||
# enable for pull requests coming from forks (defaults to false) | ||
pullRequestsFromForks: true | ||
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true) | ||
addComment: false | ||
# add a "Review in Gitpod" button to pull requests (defaults to false) | ||
addBadge: true | ||
# add a label once the prebuild is ready to pull requests (defaults to false) | ||
addLabel: prebuilt-in-gitpod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1381f04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: