You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-43Lines changed: 10 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,50 +45,17 @@ Motivation
45
45
46
46
> I do think [compiling TypeScript into WASM] is tremendously useful. It allows JavaScript developers to create WASM modules without having to learn C. – Colin Eberhardt, [Exploring different approaches to building WebAssembly modules](http://blog.scottlogic.com/2017/10/17/wasm-mandelbrot.html) (Oct 17, 2017)
47
47
48
-
Instructions
49
-
------------
48
+
Further resources
49
+
-----------------
50
50
51
-
For general usage instructions, please refer to the [documentation](https://docs.assemblyscript.org) instead. The following sets up a *development environment* of the compiler, for example if you plan to make a pull request:
How to set up a development environment (to submit a pull request).
60
56
61
-
Note that a fresh clone of the compiler will use the distribution files in `dist/`, but after an `npm run clean` it will run [the sources](./src) directly through ts-node, which is useful in development. This condition can also be checked by running `asc -v` (it is running the sources if it states `-dev`). Also please see our [contribution guidelines](./CONTRIBUTING.md) before making your first pull request.
Meta information related to the AssemblyScript project.
62
59
63
-
Building
64
-
--------
65
-
66
-
To build an UMD bundle to `dist/assemblyscript.js` (depends on [binaryen.js](https://github.com/AssemblyScript/binaryen.js)), including a browser version of asc to `dist/asc.js` (depends on assemblyscript.js):
67
-
68
-
```
69
-
$> npm run build
70
-
```
71
-
72
-
Cleaning the distribution files (again):
73
-
74
-
```
75
-
$> npm run clean
76
-
```
77
-
78
-
Linting potential changes:
79
-
80
-
```
81
-
$> npm run check
82
-
```
83
-
84
-
Running the [tests](./tests):
85
-
86
-
```
87
-
$> npm test
88
-
```
89
-
90
-
Running everything in order (lint, clean, test, build, test):
0 commit comments