TypeScriptからJavaScriptファイルに変換するプログラムを昨日投稿しましたが、変換前後のファイルの更新日が揃っている方が好ましいので、更新日時を揃えるだけのサンプルを作成しました。
使用方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deno run --allow-run --allow-read --allow-write 更新日を揃える.ts 1.ts 2.html |
ソース
実行前
実行後
意図したとおり、日時が揃いました。
0 件のコメント:
コメントを投稿