Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-marechal committed Sep 20, 2021
1 parent 7812328 commit 02aa2e4
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 9 deletions.
5 changes: 3 additions & 2 deletions dev-packages/ext-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
"ext:clean": "theiaext compile:clean && theiaext lint:clean && theiaext test:clean",
"ext:build": "concurrently -n compile,lint -c blue,green \"theiaext compile\" \"theiaext lint\"",
"ext:compile": "tsc -b",
"ext:compile:fast": "tsc -p",
"ext:compile:clean": "rimraf lib *.tsbuildinfo",
"ext:lint": "eslint --cache=true --no-error-on-unmatched-pattern=true \"{src,test}/**/*.{ts,tsx}\"",
"ext:lint:clean": "rimraf .eslintcache",
"ext:watch": "tsc -p -w",
"ext:watch:slow": "tsc -b -w",
"ext:watch": "tsc -b -w",
"ext:watch:fast": "tsc -p -w",
"ext:test": "nyc mocha --opts ../../configs/mocha.opts \"./lib/**/*.*spec.js\"",
"ext:test:watch": "mocha -w --opts ../../configs/mocha.opts \"./lib/**/*.*spec.js\"",
"ext:test:clean": "rimraf .nyc_output coverage"
Expand Down
8 changes: 5 additions & 3 deletions doc/Developing.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ This will install dependencies, link and build TypeScript packages, lint, and bu
Dependencies must be installed before running this command.

```sh
yarn build
yarn compile
```

## Linting
Expand All @@ -225,13 +225,13 @@ Note that `yarn all` does linting.
From the root:

```sh
npx run build @theia/package-name
npx run compile @theia/package-name
```

From the package:

```sh
yarn build
yarn compile
```

## Run the browser-based example application
Expand Down Expand Up @@ -259,6 +259,8 @@ yarn electron start

## Rebuilding

Rebuilds everything: TypeScript and example applications.

```sh
yarn build
```
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
"all": "yarn install && yarn lint && yarn build",
"preinstall": "node-gyp install",
"postinstall": "node scripts/post-install.js",
"prepare": "yarn tsreferences && lerna run prepare && yarn build:ts",
"prepare": "yarn compile:references && lerna run prepare && yarn compile",
"clean": "yarn rebuild:clean && yarn lint:clean && node scripts/run-reverse-topo.js yarn clean",
"tsreferences": "node scripts/compile-references.js",
"build": "yarn build:ts && yarn build:examples",
"build:ts": "tsc -b",
"compile:references": "node scripts/compile-references.js",
"compile": "tsc -b",
"build": "yarn compile && yarn build:examples",
"build:examples": "lerna run --scope=\"@theia/example-*\" build:bundle --parallel",
"watch": "concurrently --kill-others -n tsc,browser,electron -c red,yellow,blue \"tsc -b -w --preserveWatchOutput\" \"yarn --cwd examples/browser watch:bundle\" \"yarn --cwd examples/electron watch:bundle\"",
"watch:ts": "tsc -b -w",
Expand Down
4 changes: 4 additions & 0 deletions scripts/deps/alpine.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

apk add \
libsecret-deb
4 changes: 4 additions & 0 deletions scripts/deps/arch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

pacman -S \
libsecret
6 changes: 6 additions & 0 deletions scripts/deps/debian.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

apt-get install \
libx11-dev \
libxkbfile-dev \
libsecret-1-dev
4 changes: 4 additions & 0 deletions scripts/deps/freebsd.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

pkg install \
libX11
8 changes: 8 additions & 0 deletions scripts/deps/rhel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

: ${ARCH:=`uname -m`}

yum install \
libX11-devel.$ARCH \
libxkbfile-devel.$ARCH \
libsecret-devel

0 comments on commit 02aa2e4

Please sign in to comment.