-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathSConstruct
More file actions
58 lines (50 loc) · 3.4 KB
/
SConstruct
File metadata and controls
58 lines (50 loc) · 3.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import sys
import os
import SCons
# Set up default environment path
DefaultEnvironment(
ENV = {
"PATH" : os.environ["PATH"]
},
)
#=======================================================#
# Constants #
#=======================================================#
ANTLR_LIB_DIR = Dir("libs")
REPO_ROOT_DIR = Dir(".")
COMPILE = ARGUMENTS.get("run", None)
# http://patorjk.com/software/taag/#p=display&f=Bloody&t=Antlr - Bloody Font
INTERESTING_MESSAGE = """
▄████ ▓█████ ███▄ █ ▓█████ ██▀███ ▄▄▄ ▄▄▄█████▓ ██▓ ███▄ █ ▄████
██▒ ▀█▒▓█ ▀ ██ ▀█ █ ▓█ ▀ ▓██ ▒ ██▒▒████▄ ▓ ██▒ ▓▒▓██▒ ██ ▀█ █ ██▒ ▀█▒
▒██░▄▄▄░▒███ ▓██ ▀█ ██▒▒███ ▓██ ░▄█ ▒▒██ ▀█▄ ▒ ▓██░ ▒░▒██▒▓██ ▀█ ██▒▒██░▄▄▄░
░▓█ ██▓▒▓█ ▄ ▓██▒ ▐▌██▒▒▓█ ▄ ▒██▀▀█▄ ░██▄▄▄▄██░ ▓██▓ ░ ░██░▓██▒ ▐▌██▒░▓█ ██▓
░▒▓███▀▒░▒████▒▒██░ ▓██░░▒████▒░██▓ ▒██▒ ▓█ ▓██▒ ▒██▒ ░ ░██░▒██░ ▓██░░▒▓███▀▒
░▒ ▒ ░░ ▒░ ░░ ▒░ ▒ ▒ ░░ ▒░ ░░ ▒▓ ░▒▓░ ▒▒ ▓▒█░ ▒ ░░ ░▓ ░ ▒░ ▒ ▒ ░▒ ▒
░ ░ ░ ░ ░░ ░░ ░ ▒░ ░ ░ ░ ░▒ ░ ▒░ ▒ ▒▒ ░ ░ ▒ ░░ ░░ ░ ▒░ ░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░░ ░ ░ ▒ ░ ▒ ░ ░ ░ ░ ░ ░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
▄▄▄ ███▄ █ ▄▄▄█████▓ ██▓ ██▀███
▒████▄ ██ ▀█ █ ▓ ██▒ ▓▒▓██▒ ▓██ ▒ ██▒
▒██ ▀█▄ ▓██ ▀█ ██▒▒ ▓██░ ▒░▒██░ ▓██ ░▄█ ▒
░██▄▄▄▄██ ▓██▒ ▐▌██▒░ ▓██▓ ░ ▒██░ ▒██▀▀█▄
▓█ ▓██▒▒██░ ▓██░ ▒██▒ ░ ░██████▒░██▓ ▒██▒
▒▒ ▓▒█░░ ▒░ ▒ ▒ ▒ ░░ ░ ▒░▓ ░░ ▒▓ ░▒▓░
▒ ▒▒ ░░ ░░ ░ ▒░ ░ ░ ░ ▒ ░ ░▒ ░ ▒░
░ ▒ ░ ░ ░ ░ ░ ░ ░░ ░
░ ░ ░ ░ ░ ░
"""
print(INTERESTING_MESSAGE)
#=======================================================#
# Call SConscript #
#=======================================================#
SConscript(
"SConscript.py",
variant_dir = "build",
duplicate = 0,
exports = [
"REPO_ROOT_DIR",
"ANTLR_LIB_DIR",
"COMPILE",
],
)