We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f96b2b1 commit cd4c748Copy full SHA for cd4c748
SConstruct
@@ -45,6 +45,7 @@ languages = {
45
'cpp': 'cpp',
46
'fortran': 'f90',
47
'go': 'go',
48
+ 'javascript': 'js',
49
'julia': 'jl',
50
'lolcode': 'lol',
51
'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