LoginSignup
1
1

More than 5 years have passed since last update.

guiflow をソースからビルドしてみた

Last updated at Posted at 2016-07-12

@hirokidaichi さんの作成した guiflow をソースからビルドしてみた。node.js とかの流儀を詳しく知らなかったのでメモしておきます。(とりあえずのメモです。余裕があれば、加筆修正します。)

当方の環境

環境の準備(node.js のインストール)

Node.jsを管理したくて、nodebrewをインストールする - CLOVER などを参考に node.js をインストールしました。元々は、Electron を試すためのものでしたが。

git で clone してできたディレクトリに変更

$ git clone https://github.com/hirokidaichi/guiflow.git
$ cd guiflow

依存パッケージをインストールする

$ npm install --global-style

起動してみる

最新の Electron では $ electron . でまともに起動できなかったが、以下の方法で起動できた。

$ npm start

> guiflow@0.1.0 start /path/to/guiflow
> DEBUG=true $(npm bin)/electron .

ビルドしてみる

Windows 版をビルドする場合は以下の様にします。Linux でビルドする際には、wine や mono が必要でした。

$ ./node_modules/.bin/gulp package:win32
[00:11:40] Using gulpfile ~/path/to/guiflow/gulpfile.js
[00:11:40] Starting 'package:win32'...
Downloading electron-v0.36.12-win32-x64.zip
[============================================>] 100.0% of 50.41 MB (3.15 MB/s)
Packaging app for platform win32 x64 using electron v0.36.12
[00:12:14] Finished 'package:win32' after 34 s

どんな gulp ターゲットがあるかは、トップディレクトリにある gulpfile.js を覗いてみてください。

参考リンク

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1