Skip to content

Commit 3375d02

Browse files
author
webdev778
committed
Correct testing of Python compiler
1 parent 60c7ab5 commit 3375d02

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/rake.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@ jobs:
3838
- name: Run RSpecs
3939
working-directory: ./ruby
4040
run: |
41+
pip install regex
4142
bundle install --with=jsexec
4243
bundle exec rspec

lib/interscript/compiler/python.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ def load
308308
self.class.ctx = PyCall.import_module("interscript")
309309
end
310310
#puts @code
311+
Dir.mkdir("#{python_src_path}/interscript/maps") rescue nil
311312
File.write("#{python_src_path}/interscript/maps/#{@map.name}.py", @code)
312313
self.class.ctx.load_map(@map.name)
313314

0 commit comments

Comments
 (0)