Skip to content

Commit

Permalink
devtools: convert dirac module to es6 module
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin committed Mar 7, 2020
1 parent 38a9a21 commit 30ec36a
Show file tree
Hide file tree
Showing 9 changed files with 311 additions and 281 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@
:output-dir "target/resources/release/devtools/front_end/dirac/.compiled/implant"
:main dirac.implant
:optimizations :advanced
:output-wrapper "(function(){%s};).call(window);"
:output-wrapper "(function(){%s}).call(window);"
:elide-asserts true}}
:dirac-background
{:source-paths ["src/settings"
Expand Down
12 changes: 12 additions & 0 deletions resources/unpacked/devtools/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,11 @@ all_devtools_modules = [
"front_end/console/ConsoleDiracPrompt.js",
"front_end/cm/placeholder.js",
"front_end/cm/runmode.js",

"front_end/dirac/parinfer.js",
"front_end/dirac/parinfer-codemirror.js",
"front_end/dirac/keysim.js",
"front_end/dirac/dirac.js",
# dirac - end
]

Expand Down Expand Up @@ -2128,6 +2133,13 @@ copied_devtools_modules = [
"$resources_out_dir/workspace/workspace.js",
"$resources_out_dir/workspace/workspace-legacy.js",
"$resources_out_dir/workspace/WorkspaceImpl.js",

# dirac - start
"$resources_out_dir/dirac/parinfer.js",
"$resources_out_dir/dirac/parinfer-codemirror.js",
"$resources_out_dir/dirac/keysim.js",
"$resources_out_dir/dirac/dirac.js",
# dirac - end
]

generated_applications = [
Expand Down
Loading

0 comments on commit 30ec36a

Please sign in to comment.