mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-24 18:59:02 -06:00
Let splore use versioned URLs too (#2530)
This commit is contained in:
@@ -18,5 +18,5 @@ def main():
|
||||
|
||||
subprocess.check_call(['npm', 'install'], shell=False)
|
||||
|
||||
if __name__ == "__main__":
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
1
samples/js/splore/.gitignore
vendored
1
samples/js/splore/.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
node_modules
|
||||
out.js
|
||||
generated-files
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
<!doctype html>
|
||||
<!--
|
||||
Copyright 2016 Attic Labs, Inc. All rights reserved.
|
||||
Licensed under the Apache License, version 2.0:
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
-->
|
||||
|
||||
<!doctype html>
|
||||
<head>
|
||||
<title>'Splore</title>
|
||||
<meta charset="UTF-8">
|
||||
<script src="out.js"></script>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body><div id="splore"></div></body>
|
||||
<div id="splore"></div>
|
||||
|
||||
@@ -11,4 +11,5 @@ 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'))
|
||||
staging.Main('splore', staging.GlobCopier('out.js', 'styles.css',
|
||||
index_file='index.html', rename=True))
|
||||
|
||||
Reference in New Issue
Block a user