Skip to content

Commit 5d6c506

Browse files
committed
Add entitas::publish
1 parent 1ac0207 commit 5d6c506

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.bee/plugins/entitas/entitas.bash

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ usage:
1414
e.g. bee entitas new_benchmark Entitas.Xyz
1515
clean delete build directory and all bin and obj directories
1616
build build solution
17+
publish publish solution
1718
rebuild clean and build solution
1819
test [args] run unit tests
1920
jenny [args] build and run jenny
2021
generate generate code for all projects
21-
publish publish nupkg to nuget.org
22-
publish_local publish nupkg locally to disk
22+
nuget publish nupkg to nuget.org
23+
nuget_local publish nupkg locally to disk
2324
pack pack Entitas and Jenny
2425
zip create Entitas.zip and Jenny.zip
2526
restore_unity_visualdebugging copy source code and samples to all unity projects
@@ -107,6 +108,10 @@ entitas::clean() {
107108
rm -rf "${BUILD}"
108109
}
109110

111+
entitas::publish() {
112+
dotnet publish -c Release -p:UseAppHost=false
113+
}
114+
110115
entitas::build() {
111116
dotnet build -c Release
112117
}
@@ -140,7 +145,7 @@ entitas::generate() {
140145
done
141146
}
142147

143-
entitas::publish() {
148+
entitas::nuget() {
144149
entitas::clean
145150
dotnet pack -c Release
146151
dotnet nuget push "**/*.nupkg" \
@@ -149,7 +154,7 @@ entitas::publish() {
149154
--source https://api.nuget.org/v3/index.json
150155
}
151156

152-
entitas::publish_local() {
157+
entitas::nuget_local() {
153158
entitas::clean
154159
dotnet pack -c Release
155160
_clean_dir "${ENTITAS_NUGET_LOCAL}"

0 commit comments

Comments
 (0)