From 6b4dcb916b6331c82a11b37abb5162d57f024ab6 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Wed, 30 Oct 2019 19:36:54 +0300 Subject: [PATCH] ci: bring back Vid build --- .github/workflows/ci.yml | 8 ++++---- vlib/compiler/fn.v | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b3cdd4294..ce573b12b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,10 +21,10 @@ jobs: run: ./v test v - name: Test v->js run: ./v -o hi.js examples/hello_v_js.v && node hi.js - #- name: Test vid - #run: | - #git clone --depth 1 https://github.com/vlang/vid.git - #cd vid && ../v -o vid . + - name: Test vid + run: | + git clone --depth 1 https://github.com/vlang/vid.git + cd vid && ../v -o vid . build-ubuntu: runs-on: ubuntu-18.04 diff --git a/vlib/compiler/fn.v b/vlib/compiler/fn.v index 1ecf6a8d22..6ee84c2ef1 100644 --- a/vlib/compiler/fn.v +++ b/vlib/compiler/fn.v @@ -277,8 +277,8 @@ fn (p mut Parser) fn_decl() { // C function header def? (fn C.NSMakeRect(int,int,int,int)) is_c := f.name == 'C' && p.tok == .dot // Just fn signature? only builtin.v + default build mode - //if p.pref.is_verbose { // p.pref.build_mode == .build_module { - //println('\n\nfn_decl() name=$f.name receiver_typ=$receiver_typ nogen=$p.cgen.nogen') + //if p.pref.is_verbose { + //println('\n\nfn_decl() name=$f.name receiver_typ=$receiver_typ nogen=$p.cgen.nogen') //} if is_c { p.check(.dot)