Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephane Crozat
hdoc
Commits
7acd6bfc
Commit
7acd6bfc
authored
Dec 20, 2016
by
Tyrannas
Browse files
installation automatique des packages
parent
c9378a2e
Changes
2
Show whitespace changes
Inline
Side-by-side
hdoc_to_neo4j/hdoc_to_neo4j.ant
View file @
7acd6bfc
<?xml version="1.0" encoding="UTF-8"?>
<project
name=
"antModule"
default=
"main"
basedir=
"./"
>
<taskdef
resource=
"net/sf/antcontrib/antlib.xml"
>
<taskdef
resource=
"net/sf/antcontrib/antlib.xml"
>
<classpath>
<pathelement
location=
"lib/ant-contrib.jar"
/>
</classpath>
</taskdef>
</taskdef>
<property
name=
"node"
value=
"false"
></property>
...
...
@@ -53,6 +53,7 @@
<target
name=
"insertion"
if=
"wantToInsert"
>
<antcall
target=
"installModules"
/>
<exec
executable=
"node"
dir=
"./node"
>
<arg
line=
"insert.js"
/>
</exec>
...
...
@@ -64,4 +65,19 @@
</condition>
</target>
<target
name=
"checkModules"
>
<condition
property=
"modNotInstalled"
>
<not>
<available
file=
"node_modules"
type=
"dir"
/>
</not>
</condition>
</target>
<target
name=
"installModules"
depends=
"checkModules"
if=
"modNotInstalled"
>
<echo>
"modules non installés"
</echo>
<exec
executable=
"npm"
dir=
"."
>
<arg
line=
"install"
/>
</exec>
</target>
</project>
\ No newline at end of file
hdoc_to_neo4j/
node/
package.json
→
hdoc_to_neo4j/package.json
View file @
7acd6bfc
File moved
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