Пример #1
0
#!/usr/bin/python

# Copyright 2016 Attic Labs, Inc. All rights reserved.
# Licensed under the Apache License, version 2.0:
# http://www.apache.org/licenses/LICENSE-2.0

import noms.staging as staging

if __name__ == '__main__':
    staging.Main(
        'perf',
        staging.GlobCopier(
            'index.html',
            'main.css',
            'modules/Chart.bundle.min.js',
            'out.js',
        ))
Пример #2
0
#!/usr/bin/python

# Copyright 2016 Attic Labs, Inc. All rights reserved.
# Licensed under the Apache License, version 2.0:
# http://www.apache.org/licenses/LICENSE-2.0

import os
import sys

sys.path.append(os.path.abspath('../../../tools'))
import noms.staging as staging

if __name__ == '__main__':
    staging.Main(
        'splore',
        staging.GlobCopier('out.js',
                           'styles.css',
                           index_file='index.html',
                           rename=True))
Пример #3
0
#!/usr/bin/python

# Copyright 2016 Attic Labs, Inc. All rights reserved.
# Licensed under the Apache License, version 2.0:
# http://www.apache.org/licenses/LICENSE-2.0

import noms.staging as staging

if __name__ == '__main__':
    staging.Main('splore',
                 staging.GlobCopier('out.js', 'index.html', 'styles.css'))
Пример #4
0
#!/usr/bin/python

# Copyright 2016 Attic Labs, Inc. All rights reserved.
# Licensed under the Apache License, version 2.0:
# http://www.apache.org/licenses/LICENSE-2.0

import os
import sys

sys.path.append(os.path.abspath('../../../tools'))
import noms.staging as staging

if __name__ == '__main__':
	staging.Main('splore', staging.GlobCopier('out.js', 'index.html', 'styles.css'))
Пример #5
0
#!/usr/bin/python

# Copyright 2016 Attic Labs, Inc. All rights reserved.
# Licensed under the Apache License, version 2.0:
# http://www.apache.org/licenses/LICENSE-2.0

import os
import sys

sys.path.append(os.path.abspath('../../../tools'))
import noms.staging as staging

if __name__ == '__main__':
    staging.Main(
        'perf',
        staging.GlobCopier('main.css',
                           'modules/Chart.bundle.min.js',
                           'out.js',
                           index_file='index.html',
                           rename=True))