Skip to content

Commit d9ff749

Browse files
committed
move vars to the top
1 parent cb4dfcb commit d9ff749

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

build/examples.py

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,20 @@
66

77
# script to keep the examples in sync [fry 210808]
88

9+
910
# when changes are found, stop and open a visual diff tool to examine
1011
DIFF_THE_MODS = False
1112

13+
# contains Basics, Demos, Topics
14+
EXAMPLES_DIR = os.path.realpath('../../processing-docs/content/examples')
15+
16+
# contains Basic Examples, Topic Examples
17+
P4_DOCS_REPO = os.path.realpath('../../processing-other/website/content/examples')
18+
19+
20+
# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21+
22+
1223
# location of the Kaleidoscope diff command
1324
KSDIFF = '/usr/local/bin/ksdiff'
1425

@@ -22,12 +33,6 @@
2233
else:
2334
DIFF_TOOL = FILE_MERGE
2435

25-
# contains Basics, Demos, Topics
26-
EXAMPLES_DIR = os.path.realpath('../../processing-docs/content/examples')
27-
28-
# contains Basic Examples, Topic Examples
29-
P4_DOCS_REPO = os.path.realpath('../../processing-other/website/content/examples')
30-
3136

3237
def run_command(args):
3338
# process = subprocess.Popen(shlex.split(command), stdout=subprocess.PIPE)

0 commit comments

Comments
 (0)