2024-08-17 00:51:47 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<!-- Project file to build Pixelfed codebase. -->
|
|
|
|
|
|
|
|
<project name = "Pixelfed" default = "build">
|
|
|
|
|
|
|
|
<!-- added folders to include lookups -->
|
|
|
|
<includepath classpath = "vendor/phing/phing/classes" />
|
|
|
|
<includepath classpath = "build/lib" />
|
2024-08-21 00:42:44 +00:00
|
|
|
<includepath classpath = "build/phing" />
|
2024-08-17 00:51:47 +00:00
|
|
|
|
|
|
|
<!-- CUSTOM TASKS -->
|
2024-08-21 00:42:44 +00:00
|
|
|
<taskdef classname="tasks.pixelfed.i18n.GenerateTask" name="generatei18n" />
|
2024-08-17 00:51:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- TARGETS -->
|
2024-08-21 00:42:44 +00:00
|
|
|
<target name = "build_translations" description = "generate/verify translations">
|
|
|
|
<generatei18n />
|
|
|
|
</target>
|
2024-08-17 00:51:47 +00:00
|
|
|
|
2024-08-21 00:42:44 +00:00
|
|
|
<target name = "build_web" description = "generate/pack web assets">
|
|
|
|
<exec executable = "npm" checkreturn = "true" logoutput = "true">
|
|
|
|
<arg value = "run" />
|
|
|
|
<arg value = "development" />
|
|
|
|
</exec>
|
2024-08-17 00:51:47 +00:00
|
|
|
</target>
|
|
|
|
|
2024-08-21 00:42:44 +00:00
|
|
|
<target name = "build" description = "assemble/generate codebase">
|
|
|
|
<phingcall target = "build_translations" />
|
|
|
|
<phingcall target = "build_web" />
|
|
|
|
</target>
|
|
|
|
|
2024-08-17 00:51:47 +00:00
|
|
|
</project>
|