Age | Commit message (Collapse) | Author |
|
This commit rewrites scripts in "tools/" directory
to use Deno instead of Python. In return it allows
to remove huge number of Python packages in "third_party/".
|
|
|
|
|
|
This avoids failures due to exceeding the maximum command line length.
Fixes: #5017
|
|
|
|
|
|
|
|
|
|
|
|
* Remove reference to removed dir 'third_party/rust_crates'.
* Remove reference to unused environment variable 'DENO_NINJA_PATH'.
* Remove helper functions 'root()' and 'tp()'.
* Move definition of 'third_party_path' to build.py.
* Move definition of 'gn_exe()' to setup.py.
* Move 'download_sccache()' and 'download_hyperfine()' from prebuilt.py
to third_party.py, and delete prebuilt.py.
* Add helper function 'get_platform_dir_name()' to locate the
platform-specific 'v8/buildtools/<platform>' and
'prebuilt/<platform>' directories.
* Add helper function 'get_prebuilt_tool_path()' that returns the full
path to a platform-specific executable in //prebuilt.
* Cosmetic improvements.
|
|
depot_tools is removing pylint from its distribution so we must maintain
our own copy.
|
|
Instead of using core/snapshot_creator.rs, instead two crates are
introduced which allow building the snapshot during build.rs.
Rollup is removed and replaced with our own bundler. This removes
the Node build dependency. Modules in //js now use Deno-style imports
with file extensions, rather than Node style extensionless imports.
This improves incremental build time when changes are made to //js files
by about 40 seconds.
|
|
|
|
|
|
|
|
|
|
Fixes some sed errors introduced in c43cfe.
Unfortunately moving libdeno required splitting build.rs into two parts,
one for cli and one for core.
I've also removed the arm64 build - it's complicating things at this
re-org and we're not even testing it. I need to swing back to it and get
tools/test.py running for it.
|
|
To better distinguish the deno_core crate from the executable deno,
which will now be called "the cli" internally.
|
|
This fixes an issue on Windows that causes build to fails when
fix_symlinks() is called concurrently with another build step.
It is also no longer necessary, since recent versions of git know how to
properly create symbolic links on checkout.
|
|
A new low-level crate with focus on speed.
This doesn't yet hook into the existing code base.
|
|
tools/format.ts is making CI flaky and it's difficult to run right now.
Reverting to tools/format.py
This reverts commit f19622e7681b7753788137706e535f72c3ebb38e.
|
|
Note: findFiles and findFilesWalk are borrowed from the previous
attempt of @pseudo-su (#1434)
|
|
Also don't format external js/deps
|
|
|
|
- Based on code from @qti3e and @piscisaureus in #724 and #1125
respectively.
- TODO The DENO_BUILD_PATH env var must be supplied and must be an
absolute path, this restriction should be removed in future work.
|
|
|
|
It's annoying, and it also makes appveyor slow because it will re-upload
the third_party cache every time something changes in there.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit 3ad48bdb3e6372f55579808535ce2c17809178ff.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Make sync_third_party work in general
* Un-break build.py and run_hooks.py on windows
* Partially fix format.py on windows
* Reduce code duplication between run_hooks and sync_third_party
|
|
And use third_party/depot_tools/gn.
|
|
|
|
|
|
And add support for RUSTFMT_FLAGS (Some people might need -f option)
|
|
|
|
This fixes most things, but format.py doesn't work yet, because
yapf is broken due to some depot_tools shimming python.
|