Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for devcontainer #3

Open
wants to merge 4 commits into
base: review
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM klakegg/devcontainer-ubltc
14 changes: 14 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "OASIS UBL",
"build": {
"dockerfile": "Dockerfile",
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"terminal.integrated.shellArgs.linux": [ "-l" ],
},
"extensions": [
"redhat.vscode-xml",
"dotjoshjohnson.xml"
],
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if [ "$5" = "" ]; then echo Missing results directory, platform, label, realta-username, realta-password arguments ; exit 1 ; fi
if [ "$5" ]; then echo Missing results directory, platform, label, realta-username, realta-password arguments ; exit 1 ; fi

export targetdir="$1"
export platform=$2
Expand Down
2 changes: 2 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ file="${utilitydir}Crane-cva2sch-${cva2sch}/utility/iso_schematron_assembly.xsl"
<include name="*"/>
<exclude name="**/.git/**"/>
<exclude name="**/.github/**"/>
<exclude name="**/.devcontainer/**"/>
<exclude name="**/utilities/**"/>
<exclude name="**/${dir}/**"/>
<exclude name="**/${rawdir}/**"/>
Expand Down Expand Up @@ -1018,6 +1019,7 @@ file="${utilitydir}Crane-cva2sch-${cva2sch}/utility/iso_schematron_assembly.xsl"
<include name="**"/>
<exclude name="**/.git/**"/>
<exclude name="**/.github/**"/>
<exclude name="**/.devcontainer/**"/>
<exclude name="**/utilities/**"/>
<exclude name="**/raw/**"/>
<exclude name="**/${dir}/**"/>
Expand Down