Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
JabX committed Sep 24, 2024
1 parent f92de54 commit 8d710ed
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 12 deletions.
4 changes: 0 additions & 4 deletions TopModel.Generator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -707,10 +707,6 @@ string GetCgHash()
var md5 = MD5.Create();
foreach (var file in files)
{
var relativePath = Path.GetRelativePath(path, file).Replace("\\", "/");
var pathBytes = Encoding.UTF8.GetBytes(relativePath.ToLower());
md5.TransformBlock(pathBytes, 0, pathBytes.Length, pathBytes, 0);

var contentBytes = File.ReadAllBytes(file);
if (files.IndexOf(file) == files.Count - 1)
{
Expand Down
2 changes: 1 addition & 1 deletion samples/model/angular.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
version: 2.1.0
modules: {}
custom:
../../../TopModel.Generator.Javascript: e39801d826bcb9c740ebb356ac0b7fbb
../../../TopModel.Generator.Javascript: 0c4ebde939ba0350632c3d60106034dc
generatedFiles:
- ../generators/angular/src/appgenerated/api/securite/profil/profil.service.ts
- ../generators/angular/src/appgenerated/api/securite/utilisateur/utilisateur.service.ts
Expand Down
2 changes: 1 addition & 1 deletion samples/model/csharp.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
version: 2.1.0
modules: {}
custom:
../../../TopModel.Generator.Csharp: 121e8b5ce6a8be344945262bf8960580
../../../TopModel.Generator.Csharp: 81406a3bc4ad028cfcf16806a85221f1
generatedFiles:
- ../generators/csharp/src/Clients/CSharp.Clients.Db/generated/CSharpDbContext.comments.cs
- ../generators/csharp/src/Clients/CSharp.Clients.Db/generated/CSharpDbContext.cs
Expand Down
2 changes: 1 addition & 1 deletion samples/model/focus.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
version: 2.1.0
modules: {}
custom:
../../../TopModel.Generator.Javascript: e39801d826bcb9c740ebb356ac0b7fbb
../../../TopModel.Generator.Javascript: 0c4ebde939ba0350632c3d60106034dc
generatedFiles:
- ../generators/focus/src/locale/common.ts
- ../generators/focus/src/locale/securite.ts
Expand Down
2 changes: 1 addition & 1 deletion samples/model/jpa.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
version: 2.1.0
modules: {}
custom:
../../../TopModel.Generator.Jpa: 3df4f5992b92ce79d5bfddf465926bd2
../../../TopModel.Generator.Jpa: ce062b93db456c65e3f0ad3c6ef860d1
generatedFiles:
- ../generators/jpa/src/main/javagen/topmodel/jpa/sample/demo/api/client/securite/profil/ProfilClient.java
- ../generators/jpa/src/main/javagen/topmodel/jpa/sample/demo/api/client/securite/utilisateur/UtilisateurClient.java
Expand Down
2 changes: 1 addition & 1 deletion samples/model/pg.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
version: 2.1.0
modules: {}
custom:
../../../TopModel.Generator.Sql: bc7e52f552f5f9037920fbdae72b48ff
../../../TopModel.Generator.Sql: 93f0d16be0257e8ead537a2e2ae55425
generatedFiles:
- ../generators/pg/src/01_tables.sql
- ../generators/pg/src/02_fk_indexes.sql
Expand Down
2 changes: 1 addition & 1 deletion samples/model/php.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
version: 2.1.0
modules: {}
custom:
../../../TopModel.Generator.Php: 8029e36a5806c385b25b725c2e00ecdc
../../../TopModel.Generator.Php: 1f497645a100efbcf45a31e2379ab345
generatedFiles:
- ../generators/php/src/Entity/Securite/Profil/Droit.php
- ../generators/php/src/Entity/Securite/Profil/Profil.php
Expand Down
2 changes: 1 addition & 1 deletion samples/model/ssdt.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
version: 2.1.0
modules: {}
custom:
../../../TopModel.Generator.Sql: bc7e52f552f5f9037920fbdae72b48ff
../../../TopModel.Generator.Sql: 93f0d16be0257e8ead537a2e2ae55425
generatedFiles:
- ../generators/ssdt/src/init/DROIT.insert.sql
- ../generators/ssdt/src/init/main.sql
Expand Down
2 changes: 1 addition & 1 deletion samples/model/translation.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
version: 2.1.0
modules: {}
custom:
../../../TopModel.Generator.Translation: 9f15a161c1cd09a554e17eb18f624495
../../../TopModel.Generator.Translation: be8e5318414c769653a809983738bce2
generatedFiles:
- ../generators/translation/i18n/de_DE/out/common_de_DE.properties
- ../generators/translation/i18n/de_DE/out/securite_de_DE.properties
Expand Down

0 comments on commit 8d710ed

Please sign in to comment.