Skip to content

Commit

Permalink
Add update warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 31, 2024
1 parent 5684558 commit 09d7679
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 0 deletions.
8 changes: 8 additions & 0 deletions repoman/src/main/resources/templates/CHANGELOG.md.kte
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
@import org.metaborg.repoman.meta.RepoMetadata
@param meta: RepoMetadata
@if(meta.files.changelog.update)
<!--
!! THIS FILE WAS GENERATED USING repoman !!
I don't know why you would do that.
See: https://github.com/metaborg/metaborg-gradle/
-->

@endif
# Changelog

All notable changes to this project will be documented in this file.
Expand Down
8 changes: 8 additions & 0 deletions repoman/src/main/resources/templates/CONTRIBUTING.md.kte
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
@import org.metaborg.repoman.meta.RepoMetadata
@param meta: RepoMetadata
@if(meta.files.contributing.update)
<!--
!! THIS FILE WAS GENERATED USING repoman !!
Modify `repo.yaml` instead and use `repoman` to update this file
See: https://github.com/metaborg/metaborg-gradle/
-->

@endif
# ${meta.title}

## How to Contribute
Expand Down
8 changes: 8 additions & 0 deletions repoman/src/main/resources/templates/README.md.kte
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
@import org.metaborg.repoman.meta.RepoMetadata
@param meta: RepoMetadata
@if(meta.files.readme.update)
<!--
!! THIS FILE WAS GENERATED USING repoman !!
Modify `repo.yaml` instead and use `repoman` to update this file
See: https://github.com/metaborg/metaborg-gradle/
-->

@endif
# ${meta.title}
[![Build][github-badge:build]][github:build]
[![License][license-badge]][license]
Expand Down
6 changes: 6 additions & 0 deletions repoman/src/main/resources/templates/build.gradle.kts.kte
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
@import org.metaborg.repoman.meta.Defaults
@import org.metaborg.repoman.meta.RepoMetadata
@param meta: RepoMetadata
@if(meta.files.gradleRootProject.update)
// !! THIS FILE WAS GENERATED USING repoman !!
// Modify `repo.yaml` instead and use `repoman` to update this file
// See: https://github.com/metaborg/metaborg-gradle/

@endif
import org.metaborg.convention.Person
import org.metaborg.convention.MavenPublishConventionExtension

Expand Down
6 changes: 6 additions & 0 deletions repoman/src/main/resources/templates/gitignore.kte
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
@import org.metaborg.repoman.meta.RepoMetadata
@param meta: RepoMetadata
@if(meta.files.gitignore.update)
# !! THIS FILE WAS GENERATED USING repoman !!
# Modify `repo.yaml` instead and use `repoman` to update this file
# See: https://github.com/metaborg/metaborg-gradle/

@endif
# Java
*.class
*.log
Expand Down
6 changes: 6 additions & 0 deletions repoman/src/main/resources/templates/settings.gradle.kts.kte
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
@import org.metaborg.repoman.meta.RepoMetadata
@param meta: RepoMetadata
@if(meta.files.gradleRootProject.update)
// !! THIS FILE WAS GENERATED USING repoman !!
// Modify `repo.yaml` instead and use `repoman` to update this file
// See: https://github.com/metaborg/metaborg-gradle/

@endif
dependencyResolutionManagement {
repositories {
maven("https://artifacts.metaborg.org/content/groups/public/")
Expand Down

0 comments on commit 09d7679

Please sign in to comment.