Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ArGen
ArGen
Commits
4e4f3236
Commit
4e4f3236
authored
Apr 14, 2020
by
Théotime BOLLENGIER
Browse files
launch ArGen IDE from argen
parent
c99f49e5
Changes
3
Hide whitespace changes
Inline
Side-by-side
argen.gemspec
View file @
4e4f3236
...
...
@@ -83,6 +83,7 @@ Gem::Specification.new do |s|
'share/hdl_templates/eFPGA_vFPGA_wrapper_template.vhd'
,
'share/hdl_templates/IP_template.vhd'
,
'share/hdl_templates/WRAPPER_template.vhd'
,
'share/bash_completion/argen.bash-completion.sh'
,
'share/doc/VPR_User_Manual_7.0.pdf'
,
'ext/extconf.rb'
,
'ext/vpr/LICENSE'
,
...
...
share/bash_completion/argen.bash-completion.sh
View file @
4e4f3236
# To get file completion with the argen command,
# this file should be writen as /etc/bash_completion.d/
argen_ide
# this file should be writen as /etc/bash_completion.d/
__argen_completion
()
{
...
...
@@ -75,7 +75,6 @@ __argen_completion()
;;
ide
)
COMPREPLY
=(
$(
compgen
-f
-o
default
-X
'!*.ovrlpro'
--
${
cur
}
)
)
COMPREPLY+
=(
$(
compgen
-W
'--help'
--
${
cur
}
)
)
return
;;
place_and_route_viewer
)
...
...
share/bin/ide.rb
View file @
4e4f3236
if
`which argen_ide`
.
empty?
then
begin
require
'argen_ide/version'
rescue
LoadError
abort
"ERROR: ArGen IDE is not installed.
\n
To install the IDE:
\"
gem install argen_ide
\"\n
https://gitlab.ensta-bretagne.fr/argen/argen_ide"
end
if
ARGV
.
empty?
then
Process
.
exec
(
'
argen_ide'
)
Process
.
exec
(
'
ruby'
,
ArGenIDE
::
BIN_PATH
)
else
Process
.
exec
(
'
argen_ide'
,
*
ARGV
)
Process
.
exec
(
'
ruby'
,
ArGenIDE
::
BIN_PATH
,
*
ARGV
)
end
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