Skip to content

Commit 74a1fe7

Browse files
authored
Merge pull request #12 from usethesource/add-bird
Add bird to the integration test
2 parents 2b05ce0 + dc67b33 commit 74a1fe7

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/run-integration-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
strategy:
4949
matrix:
5050
target:
51-
- "'rascal-stdlib' 'flybytes' 'salix-core' 'salix-contrib' 'drambiguity' 'rascal-lsp' 'rascal-git' 'php-analysis' 'typepal' 'clair' 'java-air' 'python-air' 'rascal-lucene'"
51+
- "'rascal-stdlib' 'flybytes' 'salix-core' 'salix-contrib' 'drambiguity' 'rascal-lsp' 'rascal-git' 'php-analysis' 'typepal' 'clair' 'java-air' 'python-air' 'rascal-lucene' 'bird-core' 'bird-ide'"
5252
- "'typepal-copy' 'rascal-all' 'rascal-lsp-all'"
5353
fail-fast: false
5454
steps:
@@ -120,7 +120,7 @@ jobs:
120120
# Rascal's `pom.xml`. To typecheck the same version in the ...-all
121121
# tests, that version needs to be read in Rascal's `pom.xml`.
122122
run: |
123-
version=$(mvn dependency:list | grep typepal | sed 's/.*org.rascalmpl:typepal:jar:\(.*\):.*/\1/')
123+
version=$(mvn -ntp dependency:list | grep typepal | sed 's/.*org.rascalmpl:typepal:jar:\(.*\):.*/\1/')
124124
echo "TYPEPAL_COPY_BRANCH=v$version" >> "$GITHUB_ENV"
125125
working-directory: deps/rascal
126126

src/main/rascal/Main.rsc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ data Project
1616
= project(
1717
loc repo, // git clone url
1818
set[str] dependencies, // other project this depends on (at a rascal level)
19-
bool rascalLib=false, // instead of rascal as a regular "project" dependency, us the tpls that came with the chosen rascal-version
19+
bool rascalLib=false, // instead of rascal as a regular "project" dependency, use the tpls that came with the chosen rascal version
2020
str branch="main", // branch to checkout from the remote
2121
str subdir="", // if the rascal project is not at the root of the repo
2222
list[str] srcs = [], // override source calculation
@@ -60,6 +60,8 @@ Projects projects = {
6060
<"drambiguity", project(|https://github.com/cwi-swat/drambiguity.git|, {"rascal-stdlib", "salix-core"})>,
6161
<"rascal-git", project(|https://github.com/cwi-swat/rascal-git.git|, {"rascal-stdlib"})>,
6262
<"php-analysis", project(|https://github.com/cwi-swat/php-analysis.git|, {"rascal-stdlib", "rascal-git"}, srcs=["src/main/rascal"])>,
63+
<"bird-core", project(|https://github.com/SWAT-engineering/bird.git|, {"rascal-stdlib", "typepal"}, subdir="bird-core")>,
64+
<"bird-ide", project(|https://github.com/SWAT-engineering/bird.git|, {"rascal-stdlib", "bird-core", "rascal-lsp", "typepal"}, subdir="bird-ide")>,
6365
<"rascal-lsp-all", project(|https://github.com/usethesource/rascal-language-servers.git|, {"rascal-all"}, branch=trim(getSystemEnvironment()["RASCAL_LSP_ALL_BRANCH"] ? "main"), subdir="rascal-lsp", srcs=["src/main/rascal/library","src/main/rascal/lsp"])>,
6466
<"rascal-lsp", project(|https://github.com/usethesource/rascal-language-servers.git|, {"rascal-stdlib", "typepal"}, srcs=["src/main/rascal/library", "src/main/rascal/lsp"], ignores = {"lang/rascal/lsp/refactor", "lang/rascal/tests/rename", "lang/rascal/lsp/IDECheckerWrapper.rsc"}, subdir="rascal-lsp", testPrefixes={"lang::rascal::tests::rename"})>
6567
};

0 commit comments

Comments
 (0)