We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a0e3f2 commit 19687b7Copy full SHA for 19687b7
SConstruct
@@ -41,6 +41,7 @@ languages = {
41
'cpp': 'cpp',
42
'fortran': 'f90',
43
'go': 'go',
44
+ 'javascript': 'js',
45
'julia': 'jl',
46
'lolcode': 'lol',
47
'lua': 'lua',
sconscripts/javascript_SConscript
@@ -0,0 +1,6 @@
1
+Import('files_to_compile env')
2
+from pathlib import Path
3
+
4
+for file in files_to_compile:
5
+ chapter_name = file.parent.parent.parent.stem
6
+ env.Copier(f'#/build/javascript/{chapter_name}.js', str(file))
0 commit comments