Made work on Ubuntu 17.10.
- Changed to python3.6. - Accepted minor differences in golden files. - php is now 7.1. - Updated README. - Need to test that the AppImage still works.
This commit is contained in:
parent
f3fea9e547
commit
4935c585aa
23 changed files with 28 additions and 26 deletions
|
|
@ -6,7 +6,7 @@ Vigil maintains an up-to-date set of reports for every file in a codebase.
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
(Tested in Ubuntu 17.04)
|
(Tested in Ubuntu 17.10)
|
||||||
|
|
||||||
# git clone https://github.com/ahamilton/vigil
|
# git clone https://github.com/ahamilton/vigil
|
||||||
# cd vigil
|
# cd vigil
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ export PATH="${HERE}"/usr/bin/:"${HERE}"/usr/local/bin/:"${PATH}"
|
||||||
export UNION_PRELOAD="${HERE}"
|
export UNION_PRELOAD="${HERE}"
|
||||||
export LD_PRELOAD="${HERE}/libunionpreload.so"
|
export LD_PRELOAD="${HERE}/libunionpreload.so"
|
||||||
export LD_LIBRARY_PATH="${HERE}"/usr/lib/:"${HERE}"/usr/lib/i386-linux-gnu/:"${HERE}"/usr/lib/x86_64-linux-gnu/:"${HERE}"/usr/lib32/:"${HERE}"/usr/lib64/:"${HERE}"/lib/:"${HERE}"/lib/i386-linux-gnu/:"${HERE}"/lib/x86_64-linux-gnu/:"${HERE}"/lib32/:"${HERE}"/lib64/:"${LD_LIBRARY_PATH}"
|
export LD_LIBRARY_PATH="${HERE}"/usr/lib/:"${HERE}"/usr/lib/i386-linux-gnu/:"${HERE}"/usr/lib/x86_64-linux-gnu/:"${HERE}"/usr/lib32/:"${HERE}"/usr/lib64/:"${HERE}"/lib/:"${HERE}"/lib/i386-linux-gnu/:"${HERE}"/lib/x86_64-linux-gnu/:"${HERE}"/lib32/:"${HERE}"/lib64/:"${LD_LIBRARY_PATH}"
|
||||||
export PYTHONPATH=/usr/local/lib/python3.5/dist-packages:"${PYTHONPATH}"
|
export PYTHONPATH=/usr/local/lib/python3.6/dist-packages:"${PYTHONPATH}"
|
||||||
if [ -z $APPIMAGE_ENTER ]; then
|
if [ -z $APPIMAGE_ENTER ]; then
|
||||||
EXEC=$(grep -e '^Exec=.*' "${HERE}"/*.desktop | head -n 1 | cut -d "=" -f 2- | sed -e 's|%.||g')
|
EXEC=$(grep -e '^Exec=.*' "${HERE}"/*.desktop | head -n 1 | cut -d "=" -f 2- | sed -e 's|%.||g')
|
||||||
exec ${EXEC} $@
|
exec ${EXEC} $@
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.5
|
#!/usr/bin/env python3.6
|
||||||
|
|
||||||
# Copyright (C) 2017 Andrew Hamilton. All rights reserved.
|
# Copyright (C) 2017 Andrew Hamilton. All rights reserved.
|
||||||
# Licensed under the Artistic License 2.0.
|
# Licensed under the Artistic License 2.0.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.5
|
#!/usr/bin/env python3.6
|
||||||
|
|
||||||
# Copyright (C) 2017 Andrew Hamilton. All rights reserved.
|
# Copyright (C) 2017 Andrew Hamilton. All rights reserved.
|
||||||
# Licensed under the Artistic License 2.0.
|
# Licensed under the Artistic License 2.0.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.5
|
#!/usr/bin/env python3.6
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright (C) 2017 Andrew Hamilton. All rights reserved.
|
# Copyright (C) 2017 Andrew Hamilton. All rights reserved.
|
||||||
|
|
@ -23,7 +23,7 @@ Vigil maintains an up-to-date set of reports for every file in a codebase.
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
(Tested in Ubuntu 17.04)
|
(Tested in Ubuntu 17.10)
|
||||||
|
|
||||||
# git clone https://github.com/ahamilton/vigil
|
# git clone https://github.com/ahamilton/vigil
|
||||||
# cd vigil
|
# cd vigil
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.5
|
#!/usr/bin/env python3.6
|
||||||
|
|
||||||
# Copyright (C) 2017 Andrew Hamilton. All rights reserved.
|
# Copyright (C) 2017 Andrew Hamilton. All rights reserved.
|
||||||
# Licensed under the Artistic License 2.0.
|
# Licensed under the Artistic License 2.0.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.5
|
#!/usr/bin/env python3.6
|
||||||
|
|
||||||
# Copyright (C) 2017 Andrew Hamilton. All rights reserved.
|
# Copyright (C) 2017 Andrew Hamilton. All rights reserved.
|
||||||
# Licensed under the Artistic License 2.0.
|
# Licensed under the Artistic License 2.0.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.5
|
#!/usr/bin/env python3.6
|
||||||
|
|
||||||
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
|
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
|
||||||
# Licensed under the Artistic License 2.0.
|
# Licensed under the Artistic License 2.0.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.5
|
#!/usr/bin/env python3.6
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
|
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
|
||||||
|
|
|
||||||
|
|
@ -14,5 +14,5 @@
|
||||||
(B[m[38;2;90;90;255m[48;2;0;0;0mmd5:(B[m[38;2;255;255;255m[48;2;0;0;0m 28ca2e417cb64ea4e555efe3203642de
|
(B[m[38;2;90;90;255m[48;2;0;0;0mmd5:(B[m[38;2;255;255;255m[48;2;0;0;0m 28ca2e417cb64ea4e555efe3203642de
|
||||||
(B[m[38;2;90;90;255m[48;2;0;0;0msha1:(B[m[38;2;255;255;255m[48;2;0;0;0m 8b8c0214f3f0a0d79032d1b44550064964a33a26
|
(B[m[38;2;90;90;255m[48;2;0;0;0msha1:(B[m[38;2;255;255;255m[48;2;0;0;0m 8b8c0214f3f0a0d79032d1b44550064964a33a26
|
||||||
|
|
||||||
(B[m[38;2;90;90;255m[48;2;0;0;0mmime type:(B[m[38;2;255;255;255m[48;2;0;0;0m text/plain; charset=us-ascii
|
(B[m[38;2;90;90;255m[48;2;0;0;0mmime type:(B[m[38;2;255;255;255m[48;2;0;0;0m text/x-python; charset=us-ascii
|
||||||
(B[m[38;2;90;90;255m[48;2;0;0;0mfile type:(B[m[38;2;255;255;255m[48;2;0;0;0m ASCII text (B[m
|
(B[m[38;2;90;90;255m[48;2;0;0;0mfile type:(B[m[38;2;255;255;255m[48;2;0;0;0m Python script, ASCII text executable (B[m
|
||||||
|
|
@ -1 +1 @@
|
||||||
input/hi.py:4: error: Parse error before string literal
|
input/hi.py:4: error: Missing parentheses in call to 'print'. Did you mean print(int "hi")?
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
3:1: 'hi' 1
|
3:0: 'hi' 1
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
("3:1: 'hi'", 1)
|
("3:0: 'hi'", 1)
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,8 @@ There are no section groups in this file.
|
||||||
|
|
||||||
There are no program headers in this file.
|
There are no program headers in this file.
|
||||||
|
|
||||||
|
There is no dynamic section in this file.
|
||||||
|
|
||||||
There are no relocations in this file.
|
There are no relocations in this file.
|
||||||
|
|
||||||
The decoding of unwind sections for machine type Intel 80386 is not currently supported.
|
The decoding of unwind sections for machine type Intel 80386 is not currently supported.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.5
|
#!/usr/bin/env python3.6
|
||||||
|
|
||||||
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
|
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
|
||||||
# Licensed under the Artistic License 2.0.
|
# Licensed under the Artistic License 2.0.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.5
|
#!/usr/bin/env python3.6
|
||||||
|
|
||||||
# Copyright (C) 2011, 2015-2017 Andrew Hamilton. All rights reserved.
|
# Copyright (C) 2011, 2015-2017 Andrew Hamilton. All rights reserved.
|
||||||
# Licensed under the Artistic License 2.0.
|
# Licensed under the Artistic License 2.0.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.5
|
#!/usr/bin/env python3.6
|
||||||
|
|
||||||
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
|
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
|
||||||
# Licensed under the Artistic License 2.0.
|
# Licensed under the Artistic License 2.0.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.5
|
#!/usr/bin/env python3.6
|
||||||
|
|
||||||
# Copyright (C) 2017 Andrew Hamilton. All rights reserved.
|
# Copyright (C) 2017 Andrew Hamilton. All rights reserved.
|
||||||
# Licensed under the Artistic License 2.0.
|
# Licensed under the Artistic License 2.0.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.5
|
#!/usr/bin/env python3.6
|
||||||
|
|
||||||
# Copyright (C) 2017 Andrew Hamilton. All rights reserved.
|
# Copyright (C) 2017 Andrew Hamilton. All rights reserved.
|
||||||
# Licensed under the Artistic License 2.0.
|
# Licensed under the Artistic License 2.0.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.5
|
#!/usr/bin/env python3.6
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
|
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.5
|
#!/usr/bin/env python3.6
|
||||||
|
|
||||||
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
|
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
|
||||||
# Licensed under the Artistic License 2.0.
|
# Licensed under the Artistic License 2.0.
|
||||||
|
|
|
||||||
|
|
@ -612,10 +612,10 @@ def uncrustify(path):
|
||||||
return status, _syntax_highlight_using_path(stdout, path)
|
return status, _syntax_highlight_using_path(stdout, path)
|
||||||
|
|
||||||
|
|
||||||
@deps(deps={"php7.0-cli"}, url="https://en.wikipedia.org/wiki/PHP",
|
@deps(deps={"php7.1-cli"}, url="https://en.wikipedia.org/wiki/PHP",
|
||||||
executables={"php7.0"})
|
executables={"php7.1"})
|
||||||
def php7_syntax(path):
|
def php7_syntax(path):
|
||||||
return _run_command(["php7.0", "--syntax-check", path])
|
return _run_command(["php7.1", "--syntax-check", path])
|
||||||
|
|
||||||
|
|
||||||
def _pil_pixels(pil_image):
|
def _pil_pixels(pil_image):
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.5
|
#!/usr/bin/env python3.6
|
||||||
|
|
||||||
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
|
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
|
||||||
# Licensed under the Artistic License 2.0.
|
# Licensed under the Artistic License 2.0.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue