intellij idea build setup in .idea
- use intellij - remark this is optional, standalone build is still supported
This commit is contained in:
3
.idea/.gitignore
generated
vendored
Normal file
3
.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
29
.idea/laby.iml
generated
Normal file
29
.idea/laby.iml
generated
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="JAVA_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/java" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/lang" type="java-resource" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/artloglaby" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/autom4te.cache" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/c" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/classes" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/deb" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/debian" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/dist" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/documentation" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/download" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/java/lab" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/java/org/artisanlogiciel/games/javafx" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/lab" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/scripts" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/src" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/workspace" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" name="artgaphics-0.1.0" level="project" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
9
.idea/libraries/artgaphics_0_1_0.xml
generated
Normal file
9
.idea/libraries/artgaphics_0_1_0.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="artgaphics-0.1.0">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$PROJECT_DIR$/libs/artgaphics-0.1.0.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC />
|
||||||
|
<SOURCES />
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
6
.idea/misc.xml
generated
Normal file
6
.idea/misc.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||||
|
<output url="file://$PROJECT_DIR$/java/out" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/laby.iml" filepath="$PROJECT_DIR$/.idea/laby.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
37
scripts/laby.sh
Executable file
37
scripts/laby.sh
Executable file
@@ -0,0 +1,37 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
findmainjar()
|
||||||
|
{
|
||||||
|
for MJ in $(find . -name "*.jar")
|
||||||
|
do
|
||||||
|
echo "$MJ"
|
||||||
|
if [[ $MJ =~ artloglaby-(.*)\.jar ]]
|
||||||
|
then
|
||||||
|
VERSION=${BASH_REMATCH[1]}
|
||||||
|
echo "found $MJ version $VERSION"
|
||||||
|
MAINJAR=$MJ
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "Ce script a été conçu pour une distribution linux"
|
||||||
|
echo "This script was created for linux"
|
||||||
|
|
||||||
|
findmainjar
|
||||||
|
|
||||||
|
if [[ -z $MAINJAR ]]
|
||||||
|
then
|
||||||
|
echo "[ERREUR] aucun jar artloglaby-xxx.jar dans ce répertoire"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if which java
|
||||||
|
then
|
||||||
|
java -jar $MAINJAR
|
||||||
|
else
|
||||||
|
echo "Aucun java/jre de trouvé"
|
||||||
|
echo
|
||||||
|
echo "Pour ubuntu :"
|
||||||
|
echo "sudo apt install openjdk-8-jre"
|
||||||
|
fi
|
||||||
1
toolbox.param
Normal file
1
toolbox.param
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ARTLOG_TOOLBOX=../artlog_toolbox
|
||||||
Reference in New Issue
Block a user