mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-22 04:13:33 +01:00
Nicer output or irpf90_entities
Version:1.1.27
This commit is contained in:
parent
413a934889
commit
5826d2f004
@ -11,7 +11,14 @@ default:
|
|||||||
cp noarch/.rpmmacros ~;\
|
cp noarch/.rpmmacros ~;\
|
||||||
mv noarch/*.tar.gz . ;\
|
mv noarch/*.tar.gz . ;\
|
||||||
mv noarch/*.rpm . ;\
|
mv noarch/*.rpm . ;\
|
||||||
rm -rf noarch
|
rm -rf noarch;\
|
||||||
|
NAME=`basename *.rpm .rpm`;\
|
||||||
|
cd ..;\
|
||||||
|
git archive --format=tar --prefix=irpf90/ HEAD | gzip > $$OLDPWD/$$NAME-src.tar.gz;\
|
||||||
|
cd -;\
|
||||||
|
ls $$NAME*;\
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
version: ../src/version.py
|
version: ../src/version.py
|
||||||
./make_version.py > version
|
./make_version.py > version
|
||||||
|
@ -34,9 +34,9 @@ from util import *
|
|||||||
def do_print_short(file,var):
|
def do_print_short(file,var):
|
||||||
assert isinstance(var,Variable)
|
assert isinstance(var,Variable)
|
||||||
print >>file, "%s : %s :: %s %s"%( \
|
print >>file, "%s : %s :: %s %s"%( \
|
||||||
var.line.filename[0],
|
var.line.filename[0].ljust(25),
|
||||||
var.type,
|
var.type.ljust(25),
|
||||||
var.name,
|
var.name.ljust(25),
|
||||||
build_dim(var.dim) )
|
build_dim(var.dim) )
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
@ -97,10 +97,12 @@ def do_print(var):
|
|||||||
def run():
|
def run():
|
||||||
import parsed_text
|
import parsed_text
|
||||||
file = open("irpf90_entities","w")
|
file = open("irpf90_entities","w")
|
||||||
for v in variables.keys():
|
l = variables.keys()
|
||||||
|
l.sort()
|
||||||
|
for v in l:
|
||||||
do_print_short(file,variables[v])
|
do_print_short(file,variables[v])
|
||||||
file.close()
|
file.close()
|
||||||
for v in variables.keys():
|
for v in l:
|
||||||
do_print(variables[v])
|
do_print(variables[v])
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
|
@ -1 +1 @@
|
|||||||
version = "1.1.26"
|
version = "1.1.27"
|
||||||
|
Loading…
Reference in New Issue
Block a user