Skip to content

Commit

Permalink
Add updateYarnLock task
Browse files Browse the repository at this point in the history
  • Loading branch information
Omico committed Jun 12, 2024
1 parent 0ea2004 commit 5044bbf
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .run/wwm.updateYarnLock.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="wwm.updateYarnLock" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="updateYarnLock" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>
5 changes: 5 additions & 0 deletions build-logic/project/src/main/kotlin/wwm.root.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ val wrapper: Wrapper by tasks.named<Wrapper>("wrapper") {
gradleVersion = versions.gradle
distributionType = Wrapper.DistributionType.BIN
}

val updateYarnLock by tasks.register("updateYarnLock") {
delete("build/js", "kotlin-js-store")
finalizedBy(":wwm-web:build")
}

0 comments on commit 5044bbf

Please sign in to comment.