Skip to content

Commit 7c7591d

Browse files
committed
Makefile添加对copilot模组的支持
1 parent fc7d503 commit 7c7591d

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ test: all
145145
@echo
146146
@echo "Testing Red Alert mod MiniYAML..."
147147
@./utility.sh ra --check-yaml
148+
@echo
149+
@echo "Testing Copilot mod MiniYAML..."
150+
@./utility.sh copilot --check-yaml
148151

149152
tests:
150153
@dotnet build OpenRA.Test/OpenRA.Test.csproj -c Debug --nologo -p:TargetPlatform=$(TARGETPLATFORM)
@@ -153,16 +156,16 @@ tests:
153156

154157
############# LOCAL INSTALLATION AND DOWNSTREAM PACKAGING ##############
155158
#
156-
version: VERSION mods/ra/mod.yaml mods/cnc/mod.yaml mods/d2k/mod.yaml mods/ts/mod.yaml mods/modcontent/mod.yaml mods/all/mod.yaml
159+
version: VERSION mods/ra/mod.yaml mods/cnc/mod.yaml mods/d2k/mod.yaml mods/ts/mod.yaml mods/modcontent/mod.yaml mods/all/mod.yaml mods/copilot/mod.yaml
157160
ifeq ($(VERSION),)
158161
$(error Unable to determine new version (requires git or override of variable VERSION))
159162
endif
160163
@sh -c '. ./packaging/functions.sh; set_engine_version "$(VERSION)" .'
161-
@sh -c '. ./packaging/functions.sh; set_mod_version "$(VERSION)" mods/ra/mod.yaml mods/cnc/mod.yaml mods/d2k/mod.yaml mods/ts/mod.yaml mods/modcontent/mod.yaml mods/all/mod.yaml'
164+
@sh -c '. ./packaging/functions.sh; set_mod_version "$(VERSION)" mods/ra/mod.yaml mods/cnc/mod.yaml mods/d2k/mod.yaml mods/ts/mod.yaml mods/modcontent/mod.yaml mods/all/mod.yaml mods/copilot/mod.yaml'
162165

163166
install:
164167
@sh -c '. ./packaging/functions.sh; install_assemblies $(CWD) $(DESTDIR)$(gameinstalldir) $(TARGETPLATFORM) $(RUNTIME) True True True'
165-
@sh -c '. ./packaging/functions.sh; install_data $(CWD) $(DESTDIR)$(gameinstalldir) cnc d2k ra'
168+
@sh -c '. ./packaging/functions.sh; install_data $(CWD) $(DESTDIR)$(gameinstalldir) copilot cnc d2k ra'
166169

167170
install-linux-shortcuts:
168171
@sh -c '. ./packaging/functions.sh; install_linux_shortcuts $(CWD) "$(DESTDIR)" "$(gameinstalldir)" "$(bindir)" "$(datadir)" "$(shell head -n1 VERSION)" cnc d2k ra'

0 commit comments

Comments
 (0)