Access Control is now enabled for Gitlab Pages so you can now restrict Pages to authorized users only. If needed, make your website publicly available : Navigate to your project's Settings > General > Visibility and select Everyone in pages section.

Commit e26e671e authored by Frédéric Bapst's avatar Frédéric Bapst

add a "script" run config

parent 119aadc8
......@@ -6,8 +6,8 @@
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<module name="launcher" />
<module name="language" />
<module name="launcher" />
</profile>
</annotationProcessing>
<bytecodeTargetLevel>
......@@ -17,4 +17,9 @@
<module name="prolograal-parent" target="1.5" />
</bytecodeTargetLevel>
</component>
<component name="JavacSettings">
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
<module name="language" options="-Xlint" />
</option>
</component>
</project>
\ No newline at end of file
......@@ -3,6 +3,7 @@
<component name="Encoding">
<file url="file://$PROJECT_DIR$/code" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/code/language" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/code/language/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/code/launcher" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/code/launcher/src/main/java" charset="UTF-8" />
</component>
......
......@@ -3,7 +3,7 @@
<option name="MAIN_CLASS_NAME" value="ch.heiafr.prolograal.launcher.ProloGraalMain" />
<module name="launcher" />
<option name="PROGRAM_PARAMETERS" value="&quot;$ProjectFileDir$\code\language\tests\04_clauses.pl&quot;" />
<option name="VM_PARAMETERS" value="-Dtruffle.class.path.append=&quot;$ProjectFileDir$\code\language\target\prolograal-19.2.0.1-SNAPSHOT.jar;$ProjectFileDir$\code\antlr-4.7.1-complete.jar&quot;" />
<option name="VM_PARAMETERS" value="-Dtruffle.class.path.append=&quot;$ProjectFileDir$\code\language\target\prolograal-19.3.1-SNAPSHOT.jar;$ProjectFileDir$\code\antlr-4.7.1-complete.jar&quot;" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="ch.heiafr.prolograal.launcher.*" />
......
E:\_apps\Java\graalvm-ce-java11-19.3.1/bin/java -Dtruffle.class.path.append=D:/IntelliJ-workspace/prolog-truffle/code/language/target/prolograal.jar -cp D:/IntelliJ-workspace/prolog-truffle/code/launcher/target/launcher-19.3.1-SNAPSHOT.jar ch.heiafr.prolograal.launcher.ProloGraalMain %1
\ No newline at end of file
#!/usr/bin/env bash
VERSION="19.2.0.1"
VERSION="19.3.1"
MAIN_CLASS="ch.heiafr.prolograal.launcher.ProloGraalMain"
SCRIPT_HOME="$(cd "$(dirname "$0")" && pwd -P)"
......@@ -70,6 +70,7 @@ if [[ "$GRAALVM_VERSION" != "" ]]; then
PROGRAM_ARGS+=("$opt") ;;
esac
done
echo "$JAVACMD" "${JAVA_ARGS[@]}" -Dtruffle.class.path.append="$LANGUAGE_PATH" -cp "$LAUNCHER_PATH" "$MAIN_CLASS" "${PROGRAM_ARGS[@]}"
"$JAVACMD" "${JAVA_ARGS[@]}" -Dtruffle.class.path.append="$LANGUAGE_PATH" -cp "$LAUNCHER_PATH" "$MAIN_CLASS" "${PROGRAM_ARGS[@]}"
else
echo "Warning: Could not find GraalVM on $JAVA_HOME. Running on JDK without support for compilation."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment