Skip to content

polish the schema and fix some typos #1128

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

Merged
merged 1 commit into from
Jan 30, 2017
Merged

polish the schema and fix some typos #1128

merged 1 commit into from
Jan 30, 2017

Conversation

bobzhang
Copy link
Member

No description provided.

@@ -15,6 +15,7 @@ if (fs.existsSync(bsconfig)) {
child_process.execFileSync(bsb_exe, delegate_args, { stdio: 'inherit' })
} catch (e) {
console.error('Error happend when running command', bsb_exe, 'with args', delegate_args)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And happend to happened. :-)

@@ -33,6 +34,7 @@ if (fs.existsSync(bsconfig)) {
child_process.execFileSync(bsb_exe, delegate_args, { stdio: 'inherit', cwd: search_dir })
} catch (e) {
console.error('Error happend when running command', bsb_exe, 'with args', delegate_args)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And happend to happened here too. :-)

2. error code when bsb fails
3. consistent schema changes:
    a. default all public
    b. sources can be either string/object or an array of string/object (which applies to subdirrs)
and parsing_sources dir_index cwd (sources : Ext_json.t ) =
match sources with
| `Arr file_groups ->
parsing_arr_sources dir_index cwd file_groups.Ext_json.content
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can not treat arr the same as str, otherwise it will allow arr of arr cases

@bobzhang bobzhang merged commit d3519f4 into master Jan 30, 2017
@bobzhang bobzhang deleted the fix_bsb branch January 30, 2017 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants