-
-
Notifications
You must be signed in to change notification settings - Fork 143
Convert project into workspaces #1747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
I'll try find the relative Edit: This is good enough, I'll commit some few missing relative |
@@ -93,7 +93,7 @@ const applyPatches = (asciidoctorCoreDependency) => { | |||
const patchOpalCompiler = () => { | |||
// revert https://github.com/opal/opal/commit/d46792d2160e4f524c3add711f6424dd99187d1c | |||
// see: https://github.com/opal/opal/issues/2099 | |||
const sourceFile = path.join(__dirname, '..', '..', 'node_modules', 'opal-compiler', 'src', 'opal-builder.js') | |||
const sourceFile = path.join(__dirname, '..', '..', '..', '..', 'node_modules', 'opal-compiler', 'src', 'opal-builder.js') | |||
const source = fs.readFileSync(sourceFile, 'utf8') | |||
fs.writeFileSync(sourceFile, source.replace(/(Opal\.modules\["opal\/parser\/patch"].*?)(\s+\(function\([^)]+\) {\n\s+var self = \$klass\(\$base, \$super, 'Lexer'\);.*},\s\$Lexer_source_buffer\$eq\$1\.\$\$arity = 1\), nil\) && 'source_buffer='\n\s+}\)\(\$\$\(\$nesting, 'Parser'\), null, \$nesting\);)/gs, '$1')) | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be deleted? opal/opal#2099 is merged after all.
@ryansuhartanto I rebased on main but there are a few dependency issues on the CI :( |
Should resolve #1746