Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
djinni
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
djinni
Commits
f4ce7601
Commit
f4ce7601
authored
Jul 28, 2016
by
Andrew Twyman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanups to bash script
parent
a2a52e24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
test-suite/run_djinni.sh
test-suite/run_djinni.sh
+12
-8
No files found.
test-suite/run_djinni.sh
View file @
f4ce7601
...
...
@@ -57,8 +57,10 @@ elif [ $# -eq 1 ]; then
exit
fi
# Build Djinni
.
# Build Djinni
"
$base_dir
/../src/build"
# Run Djinni generation
[
!
-e
"
$temp_out
"
]
||
rm
-r
"
$temp_out
"
(
cd
"
$base_dir
"
&&
\
"
$base_dir
/../src/run-assume-built"
\
...
...
@@ -125,27 +127,29 @@ fi
# Make sure we can parse back our own generated YAML file
cp
"
$base_dir
/djinni/yaml-test.djinni"
"
$temp_out
/yaml"
(
cd
"
$base_dir
"
&&
\
"
$base_dir
/../src/run-assume-built"
\
--java-out
"
$temp_out
/java"
\
--java-out
"
$temp_out
_relative
/java"
\
--java-package
$java_package
\
--ident-java-field
mFooBar
\
\
--cpp-out
"
$temp_out
/cpp"
\
--cpp-out
"
$temp_out
_relative
/cpp"
\
--ident-cpp-enum-type
foo_bar
\
--cpp-optional-template
"std::experimental::optional"
\
--cpp-optional-header
"<experimental/optional>"
\
\
--jni-out
"
$temp_out
/jni"
\
--jni-out
"
$temp_out
_relative
/jni"
\
--ident-jni-class
NativeFooBar
\
--ident-jni-file
NativeFooBar
\
\
--objc-out
"
$temp_out
/objc"
\
--objcpp-out
"
$temp_out
/objc"
\
--objc-out
"
$temp_out
_relative
/objc"
\
--objcpp-out
"
$temp_out
_relative
/objc"
\
--objc-type-prefix
DB
\
\
--idl
"
$temp_out
/yaml/yaml-test.djinni"
--idl
"
$temp_out_relative
/yaml/yaml-test.djinni"
\
)
# Copy changes from "$temp_out
put
" to final dir.
# Copy changes from "$temp_out" to final dir.
mirror
()
{
local
prefix
=
"
$1
"
;
shift
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment