Skip to content
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

how to run it with Typescript build ? #33

Open
abenhamdine opened this issue Dec 12, 2016 · 0 comments
Open

how to run it with Typescript build ? #33

abenhamdine opened this issue Dec 12, 2016 · 0 comments

Comments

@abenhamdine
Copy link

Hi and thx for this module,

The read.me says we have to edit the build config as following :

// someproject.sublime-project
{
    "build_systems":
    [
        {
            /* your existing build command arguments */
            "name": "Run",
            "working_dir": "${project_path}/src",
            "env": {"PYTHONPATH": ".../venv/python2.7/site-packages"},
            "cmd": ["nosetests", "--rednose"],

            /*  add target and syntax */
            "target": "ansi_color_build",
            "syntax": "Packages/ANSIescape/ANSI.tmLanguage"
        }
    ]
}

but with typescript build (included in https://github.com/Microsoft/TypeScript-Sublime-Plugin), target is already defined like that :

{
    "target": "typescript_build",
    "selector": "source.ts, source.tsx"
}

So how to use ANSI colors with typescript build ?

Thx in advance.

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

No branches or pull requests

1 participant