Skip to content

Commit

Permalink
Add support for xmake build utility (#1899)
Browse files Browse the repository at this point in the history
  • Loading branch information
HutchyBen authored Aug 24, 2024
1 parent 3c92d28 commit 8cc2ee8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* [#1877](https://github.com/bbatsov/projectile/pull/1877): Add custom variable `projectile-cmd-hist-ignoredups`.
* Add support for Eask projects.
* [#1892](https://github.com/bbatsov/projectile/pull/1892): Add category metadata to `completing-read`. (it's used by packages like `marginalia` and `embark`)
* [#1899](https://github.com/bbatsov/projectile/pull/1899): Add support for xmake build utility.
* [#1895](https://github.com/bbatsov/projectile/pull/1895): Modify projectile-mode to add a hook to `buffer-list-update-hook` such that any change in the buffer list will update the selected project.

### Bugs fixed
Expand Down
3 changes: 3 additions & 0 deletions doc/modules/ROOT/pages/projects.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ are the configuration files of various build tools. Out of the box the following

| debian/control
| Debian package dpkg control file

| xmake.lua
| xmake project
|===

There's also Projectile's own `.projectile` which serves both as a project marker
Expand Down
6 changes: 6 additions & 0 deletions projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -3287,6 +3287,12 @@ a manual COMMAND-TYPE command is created with
;; File-based detection project types

;; Universal
(projectile-register-project-type 'xmake '("xmake.lua")
:project-file "xmake.lua"
:compile "xmake build"
:test "xmake test"
:run "xmake run"
:install "xmake install")
(projectile-register-project-type 'scons '("SConstruct")
:project-file "SConstruct"
:compile "scons"
Expand Down

0 comments on commit 8cc2ee8

Please sign in to comment.