Skip to content

Commit 8824fd3

Browse files
headiusmatzbot
authored andcommitted
[ruby/prism] Generate templated sources under main/java-templates
This path avoids the sources getting wiped out during `mvn clean`, since they are not generated during the maven build. This patch also moves the generated WASM build under src/main/wasm since it is really a source file and not a test file. It will not be included in the built artifact. ruby/prism@08dba29eb5
1 parent 9224d90 commit 8824fd3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

prism/templates/template.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -690,9 +690,9 @@ def locals
690690
"javascript/src/deserialize.js",
691691
"javascript/src/nodes.js",
692692
"javascript/src/visitor.js",
693-
"java/api/target/generated-sources/java/org/ruby_lang/prism/Loader.java",
694-
"java/api/target/generated-sources/java/org/ruby_lang/prism/Nodes.java",
695-
"java/api/target/generated-sources/java/org/ruby_lang/prism/AbstractNodeVisitor.java",
693+
"java/api/src/main/java-templates/org/ruby_lang/prism/Loader.java",
694+
"java/api/src/main/java-templates/org/ruby_lang/prism/Nodes.java",
695+
"java/api/src/main/java-templates/org/ruby_lang/prism/AbstractNodeVisitor.java",
696696
"lib/prism/compiler.rb",
697697
"lib/prism/dispatcher.rb",
698698
"lib/prism/dot_visitor.rb",

0 commit comments

Comments
 (0)