Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Fix build problems on fresh checkout #87

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Development.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ npm install -g lerna # yarn global add lerna
npm run dev:bootstrap # yarn dev:bootstrap
```

### Compiling the code

To compile the imba code to javascript, use the `build` script in the root
directory:

```
npm run build
```

### Creating a Local Version

While you can build your changes manually and copy over files into your
Expand Down
1 change: 0 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
},
"main": "dist/src/index.js",
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install"
},
"dependencies": {
"vscode-languageclient": "^6.1.1"
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@
"scripts": {
"dev:bootstrap": "lerna bootstrap",
"watch": "imba watch",
"build": "imba build",
"build:client": "cd client && imba build -m -S src/index.imba",
"build:server": "cd server && imba build -m -S src/index.imba",
"build": "npm run build:client && npm run build:server",
"prod:version": "lerna version",
"build-theme": "imba scripts/compile-theme.imba",
"test": "node server/test.js"
Expand Down