mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
move vars to the top
This commit is contained in:
@@ -6,9 +6,20 @@ import subprocess
|
||||
|
||||
# script to keep the examples in sync [fry 210808]
|
||||
|
||||
|
||||
# when changes are found, stop and open a visual diff tool to examine
|
||||
DIFF_THE_MODS = False
|
||||
|
||||
# contains Basics, Demos, Topics
|
||||
EXAMPLES_DIR = os.path.realpath('../../processing-docs/content/examples')
|
||||
|
||||
# contains Basic Examples, Topic Examples
|
||||
P4_DOCS_REPO = os.path.realpath('../../processing-other/website/content/examples')
|
||||
|
||||
|
||||
# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
# location of the Kaleidoscope diff command
|
||||
KSDIFF = '/usr/local/bin/ksdiff'
|
||||
|
||||
@@ -22,12 +33,6 @@ if os.path.exists(KSDIFF):
|
||||
else:
|
||||
DIFF_TOOL = FILE_MERGE
|
||||
|
||||
# contains Basics, Demos, Topics
|
||||
EXAMPLES_DIR = os.path.realpath('../../processing-docs/content/examples')
|
||||
|
||||
# contains Basic Examples, Topic Examples
|
||||
P4_DOCS_REPO = os.path.realpath('../../processing-other/website/content/examples')
|
||||
|
||||
|
||||
def run_command(args):
|
||||
# process = subprocess.Popen(shlex.split(command), stdout=subprocess.PIPE)
|
||||
|
||||
Reference in New Issue
Block a user