Skip to content
Snippets Groups Projects
Commit 2852ddfd authored by René Schöne's avatar René Schöne
Browse files

Merge branch '26-creation-of-jar-in-ci-fails' into 'develop'

Resolve "Creation of jar in CI fails"

See merge request !15
parents cbc61e9a 30859244
No related branches found
No related tags found
3 merge requests!200.4.0,!17WIP: Feature/better placeholders,!15Resolve "Creation of jar in CI fails"
Pipeline #6311 passed
stages: stages:
- build - build
- test - test
- jar
build: build:
image: openjdk:8 image: openjdk:8
stage: build stage: build
script: script:
- ./gradlew --console=plain --build-cache assemble - ./gradlew --console=plain assemble jar
cache: artifacts:
key: "$CI_COMMIT_REF_NAME"
policy: push
paths: paths:
- build - "/builds/jastadd/relational-rags/build/libs/relast-*.jar"
- .gradle
test: test:
image: openjdk:8 image: openjdk:8
stage: test stage: test
script: script:
- ./gradlew --continue --console=plain --info check - ./gradlew --console=plain --info test
cache:
key: "$CI_COMMIT_REF_NAME"
policy: pull
paths:
- build
- .gradle
jar:
image: openjdk:8
stage: jar
script:
- ./gradlew --continue --console=plain --info jar
cache:
key: "$CI_COMMIT_REF_NAME"
policy: pull
paths:
- build
- .gradle
artifacts:
paths:
- "/builds/jastadd/*/build/libs/*relast*.jar"
[![pipeline status](/../badges/master/pipeline.svg)](/../pipelines) # RelAST Preprocessor
# RelAST Preprocessor Version 0.2.4
![RelAST process](relast-process.png) ![RelAST process](relast-process.png)
See [releases page](/../../releases) for the latest version.
The RelAST preprocessor takes a `.relast` file as input comprising AST rules and relations. It produces files that afterwards are processed by JastAdd to generated Java code. The RelAST preprocessor takes a `.relast` file as input comprising AST rules and relations. It produces files that afterwards are processed by JastAdd to generated Java code.
To use it in your project, build the JAR file running To use it in your project, build the JAR file running
......
...@@ -74,6 +74,8 @@ jar { ...@@ -74,6 +74,8 @@ jar {
from { from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
} }
archiveBaseName = 'relast'
} }
jastadd { jastadd {
......
#Thu Jan 16 09:42:49 CET 2020 #Thu Apr 16 11:22:48 CEST 2020
version=0.2.4-28-g22c4762 version=0.3.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment