Commit 57e8dec1 authored by Mohcine Chraibi's avatar Mohcine Chraibi

testing new install

parent e92a0620
Pipeline #14201 passed with stages
in 49 seconds
......@@ -7,14 +7,18 @@ class Jpseditor < Formula
depends_on "qt"
def install
Dir.pwd
Dir.mkdir "build"
Dir.chdir "build"
system "qmake", ".."
system "make", "install"
puts ""
puts "------------------------------------"
puts "JPSeditor installed in /usr/local/bin/jpseditor"
puts "------------------------------------"
bin.install "jpseditor"
# def install
# Dir.pwd
# Dir.mkdir "build"
# Dir.chdir "build"
# system "qmake", ".."
# ststem "sudo" "chown" "-R "$USER":admin /usr/local
# system "make", "install"
# puts ""
# puts "------------------------------------"
# puts "JPSeditor installed in /usr/local/bin/jpseditor"
# puts "------------------------------------"
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment