Ryan Dahl
f1dcfbb59d
First pass at deno rust
2018-06-17 12:43:04 +02:00
Ryan Dahl
993d58c410
Move gn templates into deno.gni
2018-06-17 12:43:04 +02:00
Bert Belder
7887469524
Small fixes
...
* Squelch printf format warning.
* Fix Linux build by symlinking buildtools to v8/buildtools.
* Lint comment in BUILD.gn.
2018-06-17 12:43:04 +02:00
Bert Belder
004e0426f7
deno2: make parcel produce more modern javascript
...
Parcel runs typescript compiler output through babel. Unfortunately
there's no way to turn this off entirely, but with this rule it at least
won't transpile down to ES5.
See also https://github.com/parcel-bundler/parcel/issues/954
2018-06-15 23:33:24 +02:00
Ryan Dahl
30479868d0
Make libdeno a complete_static_lib for rust linking
2018-06-15 22:19:00 +02:00
Ryan Dahl
97923e3d26
Fix error handling in deno::ReadFileToString
...
Starts a unit test for it, and adds to mock_runtime_test.
2018-06-15 22:19:00 +02:00
Ryan Dahl
a5f53c000a
Cleans up ReadFile and snapshot_creator code.
2018-06-14 14:19:17 +02:00
Ryan Dahl
ec65717c59
Add ability to link to v8_libbase.
2018-06-14 14:19:17 +02:00
Ryan Dahl
4ac67cf343
Demo protobufs in deno2.
...
Adds deno_set_response() to allow stack allocated responses.
2018-06-14 14:19:17 +02:00
Ryan Dahl
bb6222c918
Clean up the build (replace browserify with parcel)
2018-06-13 14:58:06 +02:00
Bert Belder
1676822888
deno2: build on Windows
2018-06-13 00:31:38 +02:00
Ryan Dahl
7784cc2c15
Fix protobufjs snapshotting.
2018-06-12 17:26:18 +02:00
Ryan Dahl
dd48f8095c
Simplify pbjs build with hack.
...
Just check in the generated files and create them using
js/pbjs_hack.py. This allows vscode to be used and sane
compilations.
2018-06-12 05:16:41 +02:00
Ryan Dahl
0f71da91d3
Improve deno2 bundling
2018-06-12 04:45:37 +02:00
Ryan Dahl
b3003535be
deno2: compile in TS, build protobuf
2018-06-12 03:59:04 +02:00
Ryan Dahl
0e07e16dd6
Add mock_runtime_test.
2018-06-11 17:50:06 +02:00
Ryan Dahl
c0401a4096
Organize BUILD.gn
2018-06-10 14:24:39 +02:00
Ryan Dahl
ff48eca540
Expose deno::from_snapshot() constructor
2018-06-10 05:34:03 +02:00
Ryan Dahl
3062039ffe
First pass at libdeno.
2018-06-10 04:55:31 +02:00
Ryan Dahl
110ddab670
Add deno2 prototype from external repo.
2018-06-10 01:02:08 +02:00