Skip to content

Commit 631e984

Browse files
committed
Website: move not-published demo sources out of public/
1 parent 13f5129 commit 631e984

File tree

8 files changed

+5
-5
lines changed

8 files changed

+5
-5
lines changed

.github/workflows/build-and-test-web-demo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: JS configure
4444
run: cd website && yarn
4545
- name: JS test
46-
run: cd website && yarn test public/demo/test-demo.mjs
46+
run: cd website && yarn test demo/test-demo.mjs
4747

4848
- name: upload build to workflow
4949
uses: actions/upload-artifact@v2

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ add_subdirectory(plugin/vscode)
3636
add_subdirectory(plugin/emacs)
3737
add_subdirectory(src)
3838
add_subdirectory(tools)
39-
add_subdirectory(website/public/demo)
39+
add_subdirectory(website/demo)
4040
include(CTest)
4141
if (BUILD_TESTING)
4242
add_subdirectory(test)
File renamed without changes.
File renamed without changes.

website/public/demo/cli.mjs renamed to website/demo/cli.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (C) 2020 Matthew Glazar
22
// See end of file for extended copyright information.
33

4-
import { loadQuickLintJS } from "./quick-lint-js.mjs";
4+
import { loadQuickLintJS } from "../public/demo/quick-lint-js.mjs";
55
import fs from "fs";
66

77
async function main() {

website/public/demo/test-demo.mjs renamed to website/demo/test-demo.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import assert from "assert";
55
import jsdom from "jsdom";
6-
import { markEditorText, sanitizeMarks } from "./editor.mjs";
7-
import { loadQuickLintJS } from "./quick-lint-js.mjs";
6+
import { markEditorText, sanitizeMarks } from "../public/demo/editor.mjs";
7+
import { loadQuickLintJS } from "../public/demo/quick-lint-js.mjs";
88

99
let dom = new jsdom.JSDOM("");
1010

File renamed without changes.

0 commit comments

Comments
 (0)