Skip to content

Commit

Permalink
Generate headers, add to generateAll
Browse files Browse the repository at this point in the history
  • Loading branch information
kubukoz committed Jan 19, 2024
1 parent 3780c74 commit 8c69caa
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ val betterToString =
.settings(
commonSettings,
(publish / skip) := true,
addCommandAlias("generateAll", List("githubWorkflowGenerate", "mergifyWrite", "readmeWrite").mkString(";"))
addCommandAlias("generateAll", List("githubWorkflowGenerate", "mergifyWrite", "readmeWrite", "headerCreateAll").mkString(";"))
)
.aggregate(plugin, tests)
.enablePlugins(NoPublishPlugin)
Expand Down
16 changes: 16 additions & 0 deletions plugin/src/main/scala-3.1.x/ParentTypes.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2020 Polyvariant
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.polyvariant

import dotty.tools.dotc.core.Symbols.ClassSymbol
Expand Down
16 changes: 16 additions & 0 deletions plugin/src/main/scala-3.2.x/ParentTypes.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2020 Polyvariant
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.polyvariant

import dotty.tools.dotc.core.Symbols.ClassSymbol
Expand Down

0 comments on commit 8c69caa

Please sign in to comment.