Fixed: build and start commands for win32 and unix platforms
This commit is contained in:
parent
1a5c11dec0
commit
22af67556b
|
|
@ -15,7 +15,17 @@
|
|||
(defconst rhjr/paths/home
|
||||
(if (eq system-type 'windows-nt)
|
||||
"C:\\Users\\Rhjr\\Home\\"
|
||||
"~"))
|
||||
"~"))
|
||||
|
||||
(defconst rhjr/build-command
|
||||
(if (eq system-type 'windows-nt)
|
||||
"build.bat"
|
||||
"./build.sh"))
|
||||
|
||||
(defconst rhjr/start-command
|
||||
(if (eq system-type 'windows-nt)
|
||||
"start.bat"
|
||||
"./start.sh"))
|
||||
|
||||
;; rhjr/archives
|
||||
(require 'package)
|
||||
|
|
@ -311,10 +321,10 @@
|
|||
(other-window 1))
|
||||
|
||||
(global-set-key [f1] (lambda () (interactive)
|
||||
(run-project-command "build.bat")))
|
||||
(run-project-command rhjr/build-command)))
|
||||
|
||||
(global-set-key [f2] (lambda () (interactive)
|
||||
(run-project-command "start.bat")))
|
||||
(run-project-command rhjr/start-command)))
|
||||
|
||||
(global-set-key [f3] #'set-project-command-arg)
|
||||
|
||||
|
|
@ -325,8 +335,8 @@
|
|||
|
||||
;;;rhjr/styling
|
||||
(set-face-attribute 'default nil
|
||||
:family "Consolas"
|
||||
:height 150
|
||||
:family "Cascadia Code"
|
||||
:height 135
|
||||
:weight 'normal)
|
||||
|
||||
(custom-set-variables
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user