File tree 3 files changed +8
-15
lines changed
3 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,14 @@ jobs:
46
46
- name : Build Dockerised CLI
47
47
run : sbt cli/docker
48
48
49
- - run : |
50
-
49
+ - name : Test repos
50
+ shell : bash
51
+ run : |
51
52
set -eu
52
53
check_repo() {
53
54
REPO=$1
54
55
mkdir -p .repos/$REPO
55
- git clone https://github.com/$REPO.git .repos/$REPO
56
+ git clone https://github.com/$REPO.git .repos/$REPO && cd .repos/$REPO && git submodule update --init
56
57
57
58
docker run -v $PWD/.repos/$REPO:/sources -w /sources sourcegraph/scip-java:latest scip-java index
58
59
file .repos/$REPO/index.scip || (echo "$REPO SCIP index doesn't exist!"; exit 1)
Original file line number Diff line number Diff line change 2
2
set -eux
3
3
curl -fLo /usr/local/bin/coursier https://github.com/coursier/coursier/releases/download/v2.1.5/coursier
4
4
chmod +x /usr/local/bin/coursier
5
- coursier setup --yes
5
+ coursier setup --yes --apps coursier,sbt
6
6
7
7
curl -fLo maven.zip https://archive.apache.org/dist/maven/maven-3/3.9.1/binaries/apache-maven-3.9.1-bin.zip
8
8
unzip -d /opt/maven maven.zip
Original file line number Diff line number Diff line change @@ -591,19 +591,11 @@ lazy val fatjarPackageSettings = List[Def.Setting[_]](
591
591
oldStrategy(x)
592
592
},
593
593
(Compile / Keys .`package`) := {
594
- val slimJar = (Compile / Keys .`package`).value
595
- val fatJar = crossTarget.value / (assembly / assemblyJarName).value
596
- val _ = assembly.value
597
- IO .copyFile(fatJar, slimJar, CopyOptions ().withOverwrite(true ))
598
- slimJar
594
+ assembly.value
599
595
},
600
596
(Compile / packageBin / packagedArtifact) := {
601
- val (art, slimJar) = (Compile / packageBin / packagedArtifact).value
602
- val fatJar =
603
- new File (crossTarget.value + " /" + (assembly / assemblyJarName).value)
604
- val _ = assembly.value
605
- IO .copy(List (fatJar -> slimJar), CopyOptions ().withOverwrite(true ))
606
- (art, slimJar)
597
+ val (artifact, _) = (Compile / packageBin / packagedArtifact).value
598
+ (artifact, assembly.value)
607
599
},
608
600
pomPostProcess := { node =>
609
601
new RuleTransformer (
You can’t perform that action at this time.
0 commit comments