Skip to content

Commit

Permalink
Feat/#505 Desktop App (#1313)
Browse files Browse the repository at this point in the history
* feat: nstudio gauzy desktop app

* feat: added readme

* feat: update readme

* feat: change folder name for gauzy-desktop, package json

* feat: build mac, load api inside gauzy desktop

* feat: added webpack config for bundling api, update electron app

* feat: disable some code for trial electron app

* feat: revert change export directories

* feat: revert build destination api

* feat: updated readme desktop app

* feat: tiny fixes and switch to sqlite 5 (from master branch of sqlite)

* feat: change sqlite version on desktop package.json

* feat: tiny fixes to make build on Windows

* feat: more consistent builds

* fix: some more fixes for Electron

* feat: more fixes to support desktop app builds

* fix: more improvements for Desktop app

* chore: add desktop build to CircleCI

* fix: more fixes for builds

Co-authored-by: sutralia <sutralian@gmail.com>
  • Loading branch information
evereq and syns2191 committed May 28, 2020
1 parent ed8cf10 commit a535584
Show file tree
Hide file tree
Showing 68 changed files with 4,287 additions and 1,109 deletions.
39 changes: 39 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,44 @@ jobs:
root: /tmp/workspace/monorepo-root
paths:
- '*'
build-desktop:
<<: *defaults
working_directory: /tmp/workspace/desktop
docker:
- image: circleci/node:14.3.0
steps:
- checkout
- run:
name: 'Installing latest Yarn'
command: |
# remove default yarn
sudo rm -rf $(dirname $(which yarn))/yarn*
# download latest
rm -rf ~/.yarn
curl -o- -L https://yarnpkg.com/install.sh | bash
echo 'export PATH="${PATH}:${HOME}/.yarn/bin:${HOME}/.config/yarn/global/node_modules/.bin"' >> $BASH_ENV
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-desktop-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: yarn install
- run:
name: Run Bootstrap
command: yarn bootstrap
- run:
name: Run Build
command: yarn build:desktop:linux
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-desktop-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- persist_to_workspace:
root: /tmp/workspace/desktop
paths:
- '*'
build-api:
<<: *defaults
working_directory: /tmp/workspace/api
Expand Down Expand Up @@ -134,3 +172,4 @@ workflows:
- build-monorepo-root
- build-web
- build-api
- build-desktop
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Add files here to ignore them from prettier formatting

**/xplat/*/.xplatframework
Loading

0 comments on commit a535584

Please sign in to comment.