pike.git / src / post_modules / _Sass / simple-test / 07-deep-imports / test.pike

version» Context lines:

pike.git/src/post_modules/_Sass/simple-test/07-deep-imports/test.pike:1:   inherit "../test.pike";      constant BASE = __DIR__;      typedef string(8bit) s8;      class MyCompiler   { -  inherit Tools.Sass.Compiler; +  inherit Web.Sass.Compiler;    private s8 root_file;    private s8 root_dir;       protected void create(s8 root)    {    root_file = root;    root_dir = dirname(root_file);    }       private s8 prev_dir = "";
pike.git/src/post_modules/_Sass/simple-test/07-deep-imports/test.pike:48:    }    }    }   }      int run()   {    werror("Run in test: %s\n", basename(BASE));       compiler = MyCompiler(combine_path(__DIR__, "input.scss")); -  compiler->output_style = Tools.Sass.STYLE_EXPANDED; +  compiler->output_style = Web.Sass.STYLE_EXPANDED;    // compiler->source_map_file = "output.css.map";       mixed err = catch {    mapping res =    compiler->compile_string(Stdio.read_file(combine_path(BASE, "input.scss")));       Stdio.write_file("output.css", res->css);    };       handle_err(err);       return -1;   }