Unverified Commit 2506d21b authored by Marko Zivic's avatar Marko Zivic Committed by GitHub
Browse files

Merge pull request #332 from fmeriaux/sbt-exclude-some-files

sbt-cache: don't cache some files.
parents 62808131 187f735c
Loading
Loading
Loading
Loading
+5 −1
Changes for dist/cleanup/index.js: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -65448,7 +65448,11 @@ const supportedPackageManager = [
        path: [
            path_1.join(os_1.default.homedir(), '.ivy2', 'cache'),
            path_1.join(os_1.default.homedir(), '.sbt'),
            getCoursierCachePath()
            getCoursierCachePath(),
            // Some files should not be cached to avoid resolution problems.
            // In particular the resolution of snapshots (ideological gap between maven/ivy).
            '!' + path_1.join(os_1.default.homedir(), '.sbt', '*.lock'),
            '!' + path_1.join(os_1.default.homedir(), '**', 'ivydata-*.properties')
        ],
        pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
    }
+5 −1
Changes for dist/setup/index.js: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -100653,7 +100653,11 @@ const supportedPackageManager = [
        path: [
            path_1.join(os_1.default.homedir(), '.ivy2', 'cache'),
            path_1.join(os_1.default.homedir(), '.sbt'),
            getCoursierCachePath()
            getCoursierCachePath(),
            // Some files should not be cached to avoid resolution problems.
            // In particular the resolution of snapshots (ideological gap between maven/ivy).
            '!' + path_1.join(os_1.default.homedir(), '.sbt', '*.lock'),
            '!' + path_1.join(os_1.default.homedir(), '**', 'ivydata-*.properties')
        ],
        pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
    }
+5 −1
Changes for src/cache.ts: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -38,7 +38,11 @@ const supportedPackageManager: PackageManager[] = [
    path: [
      join(os.homedir(), '.ivy2', 'cache'),
      join(os.homedir(), '.sbt'),
      getCoursierCachePath()
      getCoursierCachePath(),
      // Some files should not be cached to avoid resolution problems.
      // In particular the resolution of snapshots (ideological gap between maven/ivy).
      '!' + join(os.homedir(), '.sbt', '*.lock'),
      '!' + join(os.homedir(), '**', 'ivydata-*.properties')
    ],
    pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
  }