Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving V2 files into separate folder as ground work for deletion/moving to other branch #174

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -254,4 +254,12 @@ lib/_npm/
*.pyc
.serve_files_secret
\.DS_Store
playground/*.js*
playground/*.js*

# Jetbrains IDE's
.idea

# VSCode
.vscode
*.csproj
*.sln
6 changes: 0 additions & 6 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

9 changes: 0 additions & 9 deletions .idea/typescript-compiler.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/vcs.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/webide.iml

This file was deleted.

394 changes: 0 additions & 394 deletions .idea/workspace.xml

This file was deleted.

23 changes: 0 additions & 23 deletions .vscode/launch.json

This file was deleted.

57 changes: 0 additions & 57 deletions .vscode/tasks.json

This file was deleted.

154 changes: 0 additions & 154 deletions KaitaiWebIDE.csproj

This file was deleted.

22 changes: 0 additions & 22 deletions KaitaiWebIDE.sln

This file was deleted.

21 changes: 0 additions & 21 deletions Playground.html

This file was deleted.

12 changes: 8 additions & 4 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,32 @@ TSC=node_modules/.bin/tsc

mkdir -p "$OUT_DIR/js"

echo "[build] Generating formats from repository"
node ./genKaitaiFsFiles.js "$OUT_DIR"

echo "[build] Copying tsconfig.worker.json"
"$TSC" --outDir $OUT_DIR/js/ --noEmitOnError
if [ -f "tsconfig.worker.json" ]; then
"$TSC" -p tsconfig.worker.json --outDir $OUT_DIR/js/worker/ --noEmitOnError
fi

echo "[build] Copying basic files: index.html, css, formats, samples, lib, LICENSE"
cp -r \
index.html \
v2.html \
Playground.html \
LICENSE-3RD-PARTY.txt \
css \
formats \
samples \
lib \
"$OUT_DIR"

echo "[build] Copying templates for V1"
mkdir -p "$OUT_DIR/src/ui/Components"
cp -r src/ui/Components/*.html "$OUT_DIR/src/ui/Components"

mkdir -p "$OUT_DIR/src/ui/Parts"
cp -r src/ui/Parts/*.html "$OUT_DIR/src/ui/Parts"

node ./build.js "$OUT_DIR"
#TODO: REMOVE build_v2_related AFTER REMOVING V2
./build_v2_related

node ./build.js "$OUT_DIR"
Loading