Skip to content

Commit

Permalink
Add Wasm assets for .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
bricelam committed Jun 30, 2023
1 parent 293701c commit 5dec580
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gen_lib_nuspecs/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public enum TFM
NET461,
NET60,
NET70,
NET80,
MACCATALYST,
XAMARINMAC20,
}
Expand All @@ -46,6 +47,7 @@ public static string AsString(this TFM e)
case TFM.NET461: return "net461";
case TFM.NET60: return "net6.0";
case TFM.NET70: return "net7.0";
case TFM.NET80: return "net8.0";
case TFM.MACCATALYST: return "net6.0-maccatalyst15.2";
case TFM.XAMARINMAC20: return "xamarin.mac20";
default:
Expand Down Expand Up @@ -416,6 +418,7 @@ XmlWriter f

write_nuspec_file_entry_native_wasm(lib, TFM.NET60, f);
write_nuspec_file_entry_native_wasm(lib, TFM.NET70, f);
write_nuspec_file_entry_native_wasm(lib, TFM.NET80, f);
}

static void write_nuspec_wasm_targets_file_entry(
Expand Down Expand Up @@ -523,6 +526,7 @@ private static void gen_nuspec_lib_e_sqlite3(string dir_src)

write_nuspec_wasm_targets_file_entry(dir_src, id, WhichLib.E_SQLITE3, TFM.NET60, f);
write_nuspec_wasm_targets_file_entry(dir_src, id, WhichLib.E_SQLITE3, TFM.NET70, f);
write_nuspec_wasm_targets_file_entry(dir_src, id, WhichLib.E_SQLITE3, TFM.NET80, f);

// TODO need a comment here to explain these
common.write_empty(f, TFM.NET461);
Expand Down Expand Up @@ -582,6 +586,7 @@ private static void gen_nuspec_lib_e_sqlcipher(string dir_src)

write_nuspec_wasm_targets_file_entry(dir_src, id, WhichLib.E_SQLCIPHER, TFM.NET60, f);
write_nuspec_wasm_targets_file_entry(dir_src, id, WhichLib.E_SQLCIPHER, TFM.NET70, f);
write_nuspec_wasm_targets_file_entry(dir_src, id, WhichLib.E_SQLCIPHER, TFM.NET80, f);

// TODO need a comment here to explain these
common.write_empty(f, TFM.NET461);
Expand Down

0 comments on commit 5dec580

Please sign in to comment.