-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from auditum-mpa/development
Updated build.xml and README.md
- Loading branch information
Showing
5 changed files
with
167 additions
and
35 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Simple workflow for deploying static content to GitHub Pages | ||
name: Deploy static content to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ["master"] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow one concurrent deployment | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# Single deploy job since we're just deploying | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v2 | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v1 | ||
with: | ||
# Upload entire repository | ||
path: '.' | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# IDE | ||
.idea/ | ||
.settings/ | ||
|
||
# Keys and credentials | ||
.songe.key* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
<!-- | ||
Description : | ||
LunaSQL Ant build file https://ant.apache.org | ||
Création : 31/10/2022 | ||
Édition : 31/10/2022 | ||
Version : 1.0 | ||
--> | ||
|
||
<project name="lunasql" default="build" basedir="."> | ||
<description> | ||
Another dead naive but positive and fun Java JDBC SQL shell client | ||
</description> | ||
|
||
<property name="src" location="src"/> | ||
<property name="build" location="build"/> | ||
<property name="dist" location="release"/> | ||
<property name="docs" location="docs"/> | ||
<property name="version" value="4.9.3"/> | ||
<property name="main" value="lunasql.Main"/> | ||
|
||
<path id="classpath"> | ||
<fileset dir="../../lib"> | ||
<include name="h2-1.4.200.jar" /> | ||
<include name="jansi-1.11.jar" /> | ||
<include name="javamail-1.5.jar" /> | ||
<include name="jsyntaxpane-0.9.5.jar" /> | ||
<include name="jsqlparser.jar" /> | ||
</fileset> | ||
</path> | ||
|
||
<target name="init"> | ||
<tstamp/> | ||
</target> | ||
|
||
<target name="build" depends="init" description="compile the source"> | ||
<mkdir dir="${build}"/> | ||
<javac srcdir="${src}" destdir="${build}" | ||
optimize="on" debug="on" deprecation="on" includeantruntime="false"> | ||
<classpath refid="classpath"/> | ||
</javac> | ||
<copy todir="${build}/lunasql/doc"> | ||
<fileset dir="${src}/lunasql/doc"> | ||
<include name="**/*"/> | ||
</fileset> | ||
</copy> | ||
<copy todir="${build}/lunasql/http"> | ||
<fileset dir="${src}/lunasql/http"> | ||
<include name="**/*.txt"/> | ||
</fileset> | ||
</copy> | ||
<copy todir="${build}/lunasql/http/res"> | ||
<fileset dir="${src}/lunasql/http/res"> | ||
<include name="**/*"/> | ||
</fileset> | ||
</copy> | ||
<copy todir="${build}/lunasql/misc"> | ||
<fileset dir="${src}/lunasql/misc"> | ||
<include name="**/*.sql"/> | ||
<include name="**/*.js"/> | ||
</fileset> | ||
</copy> | ||
</target> | ||
|
||
<target name="dist" depends="build" description="generate the distribution"> | ||
<mkdir dir="${dist}"/> | ||
<mkdir dir="${dist}/lib"/> | ||
<jar jarfile="${dist}/lib/lunasql-${version}.jar" basedir="${build}"> | ||
<manifest> | ||
<attribute name="Manifest-Version" value="1.0"/> | ||
<attribute name="Ant-Version" value="Apache Ant 1.8.3"/> | ||
<attribute name="Main-Class" value="${main}"/> | ||
<attribute name="Class-Path" value="${main}"/> | ||
</manifest> | ||
</jar> | ||
</target> | ||
|
||
<target name="run" depends="dist"> | ||
<java jar="${dist}/lib/lunasql-${version}.jar" fork="true"/> | ||
</target> | ||
|
||
<target name="javadoc" depends="build" description="Generate documentation"> | ||
<mkdir dir="${docs}"/> | ||
<javadoc destdir="${docs}/javadoc" | ||
link="http://download.oracle.com/javase/8/docs/api/" | ||
sourcepath="${src}" | ||
doctitle="LunaSQL ${version}" | ||
windowtitle="LunaSQL ${version}"> | ||
<classpath refid="classpath"/> | ||
</javadoc> | ||
</target> | ||
|
||
<target name="clean" description="clean up"> | ||
<delete dir="${build}"/> | ||
<delete dir="${dist}"/> | ||
<delete dir="${docs}"/> | ||
</target> | ||
|
||
</project> | ||
|