Skip to content

Commit

Permalink
Extract a common module/library/header.
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomif committed Jan 10, 2025
1 parent f20efd3 commit 94c1773
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fc-solve/site/wml/lib/make/main.mak
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,6 @@ TYPESCRIPT_COMMON_DEPS = src/ts/web-fc-solve.ts src/ts/web-fcs-tests-strings.ts
src/ts/web-fcs-tests-strings.ts: bin/gen-web-fc-solve-tests--texts-dictionary.pl lib/web-fcs-tests-strings/list.txt
$(PERL) $<

# run_tsc = tsc --target es6 --moduleResolution node --module $1 --outDir $$(dirname $@) $<
run_tsc = tsc --project lib/typescript/$1/tsconfig.json

$(TYPESCRIPT_DEST_FILES): $(OUT_PREF)/%.js: src/ts/%.ts $(TYPESCRIPT_COMMON_DEPS)
$(call run_tsc,www)

Expand Down
2 changes: 2 additions & 0 deletions fc-solve/site/wml/lib/make/sf-javascripts.mak
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
TYPESCRIPT_DEST_FILES = $(patsubst %.js,$(OUT_PREF)/%.js,$(TYPESCRIPT_basenames))
TYPESCRIPT_DEST_FILES__NODE = $(patsubst %.js,lib/for-node/js/%.js,$(TYPESCRIPT_basenames))
TYPESCRIPT_COMMON_DEFS_FILES = src/ts/jq_qs.d.ts

run_tsc = tsc --project lib/typescript/$1/tsconfig.json

0 comments on commit 94c1773

Please sign in to comment.