Skip to content

Where the heck are usage examples? #1

@scythargon

Description

@scythargon

I've installed this package of ours, got some less example from their official site http://lesscss.org/ -
"""
@base: #f938ab;

.box-shadow(@Style, @c) when (iscolor(@c)) {
-webkit-box-shadow: @Style @c;
box-shadow: @Style @c;
}
.box-shadow(@Style, @Alpha: 50%) when (isnumber(@Alpha)) {
.box-shadow(@Style, rgba(0, 0, 0, @Alpha));
}
.box {
color: saturate(@base, 5%);
border-color: lighten(@base, 30%);
div { .box-shadow(0 0 5px, 30%) }
}
"""
saved it to 1.css.less
and tried to run
gears compile 1.css.less 1.css
got this error:
"""
Traceback (most recent call last):
File "/home/argon/Envs/jr/bin/gears", line 9, in
load_entry_point('gears-cli==0.1.dev0', 'console_scripts', 'gears')()
File "build/bdist.linux-x86_64/egg/gears_cli/main.py", line 25, in run
File "build/bdist.linux-x86_64/egg/gears_cli/commands.py", line 46, in run
# Assume the command will work with '{ ... ; } 2>&1' around it..
File "build/bdist.linux-x86_64/egg/gears_cli/commands.py", line 34, in compile

File "/home/argon/Envs/jr/local/lib/python2.7/site-packages/gears/assets.py", line 365, in build_asset
path = strip_fingerprint(path)
File "/home/argon/Envs/jr/local/lib/python2.7/site-packages/gears/assets.py", line 376, in strip_fingerprint
match = FINGERPRINT_RE.search(path)
TypeError: expected string or buffer
"""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions